Skip to content

Duel.GetCardTypeFromCode ​

Source Code | Usage Examples | Duel Functions

Retrieves the card type(s) of a given card passcode/ID from the card database.

Signature ​

Duel.GetCardTypeFromCode(int id) → int

lua
Duel.GetCardTypeFromCode(id)

Parameters ​

  • int id ​

    The passcode/ID of the card to get the card type(s) of.

Returns ​

  • int ​

    Composite CardType value of the card registered in the database.


passcode-related