Editing Mod API Reference:GameOrderCustom
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
'''GameOrderCustom''': Subclass of [[Mod API Reference:GameOrder|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 [[Mod API Reference:GameOrderEvent|GameOrderEvent]] which is typically sent down from the server to clients. | '''GameOrderCustom''': Subclass of [[Mod API Reference:GameOrder|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 [[Mod API Reference:GameOrderEvent|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. | * '''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. | * '''Payload''' ''string'': Data the mod wishes to store along with this order, but does not want players to see. |