Mod API Reference:PlayerID
From WarLight Wiki
Alias for an integer that represents the ID of a player.
Also, note that the following constants are also available:
- WL.PlayerID.Neutral: Represents the neutral player.
- WL.PlayerID.Fog: Set in a client function when the client does not know the player that owns this item.
- WL.PlayerID.AvailableForDistribution: Set during manual territory distribution to indicate that this territory is available for picking.