Mod API Reference:GameOrderPlayCardCustom: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
add missing Description field
No edit summary
Line 4: Line 4:
* '''ModData''' ''string'':
* '''ModData''' ''string'':
* '''Phase''' ''[[Mod API Reference:Nullable|Nullable]]<[[Mod API Reference:TurnPhase|TurnPhase]] (enum)>'':
* '''Phase''' ''[[Mod API Reference:Nullable|Nullable]]<[[Mod API Reference:TurnPhase|TurnPhase]] (enum)>'':
* '''TerritoryAnnotationsOpt''' ''Table<[[Mod API Reference:TerritoryID|TerritoryID]],[[Mod API Reference:TerritoryAnnotation|TerritoryAnnotation]]>'':  When the order is selected in the orders list by the player, these messages will be presented on top of the territories specified.  (Added in version 5.34.1)
* '''JumpToActionSpotOpt''' ''[[Mod API Reference:RectangleVM|RectangleVM]]'': If specified, this will be the spot on the map that the map focuses on when the player clicks on this event in the orders list.  Specify coordinates on the map, which you can get by looking at a [[Mod API Reference:TerritoryDetails|TerritoryDetails]] object. (Added in version 5.34.1)


[[Category:Mod API Reference]]
[[Category:Mod API Reference]]

Revision as of 22:13, 29 March 2025

GameOrderPlayCardCustom: Subclass of GameOrderPlayCard used by Custom Cards.

  • CustomCardID integer:
  • Description string:
  • ModData string:
  • Phase Nullable<TurnPhase (enum)>:
  • TerritoryAnnotationsOpt Table<TerritoryID,TerritoryAnnotation>: When the order is selected in the orders list by the player, these messages will be presented on top of the territories specified. (Added in version 5.34.1)
  • JumpToActionSpotOpt RectangleVM: If specified, this will be the spot on the map that the map focuses on when the player clicks on this event in the orders list. Specify coordinates on the map, which you can get by looking at a TerritoryDetails object. (Added in version 5.34.1)