Mod API Reference:GameOrderCustom: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
Created page with "'''GameOrderCustom''': Subclass of GameOrder. This order does nothing on its own, but it can be used by mods for custom orders. GameOrderCus..."
(No difference)

Revision as of 00:45, 18 May 2017

GameOrderCustom: Subclass of GameOrder. This order does nothing on its own, but it can be used by mods for custom orders. GameOrderCustom is typically sent up from clients to the server, in contrast to GameOrderEvent which is typically sent down from the server to clients.

  • Message string: The message that will appear in the orders list. This is what players see.
  • Payload string: Data the mod wishes to store along with this order, but does not want players to see.

Functions