public interface IPlayerRepresents one player visible to the current Planet Crafter session.
Members
ClientIdGets the player's session-scoped multiplayer client ID.propertyNameGets the player's current display name.propertyIsLocalGets whether this is the player controlled by this game instance.propertyIsHostGets whether this player owns the hosted session.propertyIsConnectedGets whether the player is still present in the active session.propertyPositionGets the player's current or last known world position.propertyVitalsGets the player's current or last known survival gauges.propertyClientId
propertyulong ClientIdGets the player's session-scoped multiplayer client ID.
This value identifies a connection during the current session. It is not promised to be a permanent Steam, account, or save-file identity.
Name
propertystring NameGets the player's current display name.
IsLocal
propertybool IsLocalGets whether this is the player controlled by this game instance.
IsHost
propertybool IsHostGets whether this player owns the hosted session.
IsConnected
propertybool IsConnectedGets whether the player is still present in the active session.
Position
propertyWorldPosition PositionGets the player's current or last known world position.
Vitals
propertyPlayerVitals VitalsGets the player's current or last known survival gauges.