Skip to content

BattleUtils

Zealot Tormunds edited this page Aug 7, 2022 · 2 revisions

class BattleUtils (requires Utilities.h)

Static Functions:

  • static ccGame_GetPlayerLeader(unsigned int PLAYER_SIDE)

Gives you a pointer (ccPlayerLeader*) to the main player of 1P or 2P, depending on the requested PLAYER_SIDE (it can be 0 or 1).