Mod API Reference:CardInstance

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
(Children)
Line 11: Line 11:
 
* [[Mod API Reference:ReinforcementCardInstance|ReinforcementCardInstance]]
 
* [[Mod API Reference:ReinforcementCardInstance|ReinforcementCardInstance]]
 
[[Category:Mod API Reference]]
 
[[Category:Mod API Reference]]
 +
 +
== How to create a Card ==

Revision as of 05:04, 22 November 2023

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 ReinforcementCardInstance, and for all other cards use the NoParameterCardInstance.

How to create a Card

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox