public struct PlayerPickedPowerupEvent : IEventPayload

Payload for the "PlayerPickedPowerup" event.


public PlayerControllerWrapper GetPlayer()

(Client/Server) Get the player that picked up the powerup.

Returns: (PlayerController) The player that picked up the powerup.


public int GetPowerup()

(Client/Server) Get the index of the powerup that was picked.

Returns: (int) The index of the powerup that was picked.