Payload for the PlayerStateChanged event.
public PlayerControllerWrapper GetPlayer()
(Client/Server) Get the player that changed their state.
Returns: (PlayerController) The player whose state changed.
public int GetNewState()
(Client/Server) Get the state the player is in.
Returns: (int) 0 for Player, 1 for Temporary Spectator, 2 for Spectator