PlayerEvent
Show declaration
struct PlayerEvent play version("2.4");
The information for a StaticEventHandler.PlayerEntered,
StaticEventHandler.PlayerRespawned,
StaticEventHandler.PlayerDied, or
StaticEventHandler.PlayerDisconnected event.
Instance Members
-
readOnly int PlayerNumber
-
The player who created this event.
-
readOnly bool IsReturn
-
trueif this is aStaticEventHandler.PlayerEnteredevent caused by re-entering a hub level.