Mod API Reference:CardInstance: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
Created page with " '''CardInstance''': An actual instance of a card belonging to a player or team. For example, when a player completes their 4th piece of a 4-piece reinforcement card, an inst..."
 
DanWL60 (talk | contribs)
mNo edit summary
Line 10: Line 10:
* [[Mod API Reference:NoParameterCardInstance|NoParameterCardInstance]]
* [[Mod API Reference:NoParameterCardInstance|NoParameterCardInstance]]
* [[Mod API Reference:ReinforcementCardInstance|ReinforcementCardInstance]]
* [[Mod API Reference:ReinforcementCardInstance|ReinforcementCardInstance]]
[[Category:Mod API Reference]]

Revision as of 16:54, 4 December 2018

CardInstance: An actual instance of a card belonging to a player or team. For example, when a player completes their 4th piece of a 4-piece reinforcement card, an instance of CardInstance is created, assigned a random ID, and given to the player/team.

Children

This is an abstract type. For Reinforcement cards, you should use the ReinforcementCardInstamce, and for all other cards use the NoParameterCardInstance.