Mod API Reference:CardID: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
Created page with "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,..."
 
No edit summary
Line 1: Line 1:
Alias for an integer that represents a card ID.   
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 CardID.Reinforcement, 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.

Revision as of 20:15, 11 April 2017

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.