Skip to content

Card.Alias

Source Code | Usage Examples | Card Functions

Returns a card's alias.

Signature

Card.Alias(Card c) → int

lua
c:Alias()

Parameters

  • Card c

    The card to get the alias of.

Returns

Overload

Card.Alias(Card c, int id) → nil

lua
c:Alias(id)

Changes a card's alias.

Parameters

  • Card c

    The card to change the alias of.

  • int id

    The new alias.