Mod API Reference:CardID: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
No edit summary
DanWL60 (talk | contribs)
mNo edit summary
 
Line 2: Line 2:


For example, 1 means Reinforcement Card, 2 means Spy Card, etc.  However, you should never hard-code the values in your app, instead, compare them to the constants WL.CardID.Reinforcement, WL.CardID.Spy, etc.
For example, 1 means Reinforcement Card, 2 means Spy Card, etc.  However, you should never hard-code the values in your app, instead, compare them to the constants WL.CardID.Reinforcement, WL.CardID.Spy, etc.
[[Category:Mod API Reference]]

Latest revision as of 16:54, 4 December 2018

Alias for an integer that represents a card ID.

For example, 1 means Reinforcement Card, 2 means Spy Card, etc. However, you should never hard-code the values in your app, instead, compare them to the constants WL.CardID.Reinforcement, WL.CardID.Spy, etc.