GetInvasionState
int GetInvasionState (void)
Return value
If Invasion is enabled, the current state of the game mode is returned. Possible states are listed in the following table:
State |
---|
IS_WAITINGFORPLAYERS (0) |
IS_FIRSTCOUNTDOWN (1) |
IS_INPROGRESS (2) |
IS_BOSSFIGHT (3) |
IS_WAVECOMPLETE (4) |
IS_COUNTDOWN (5) |
IS_MISSIONFAILED (6) |
If Invasion is not enabled, -1 is returned.