Skip to content

Card.GetOwner ​

Source Code | Usage Examples | Card Functions

Returns the owner of a card.

Signature ​

Card.GetOwner(Card c) → int

lua
c:GetOwner()

Parameters ​

  • Card c ​

    The card to get the owner of.

Returns ​

  • int ​

    The player that owns the card.