Photon.Realtime.ActorProperties Class Reference
Class for constants. These (byte) values define "well known" properties for an Actor / Player. More...
Public Attributes | |
const byte | PlayerName = 255 |
(255) Name of a player/actor. More... | |
const byte | IsInactive = 254 |
(254) Tells you if the player is currently in this game (getting events live). More... | |
const byte | UserId = 253 |
(253) UserId of the player. Sent when room gets created with RoomOptions.PublishUserId = true. More... | |
Detailed Description
Class for constants. These (byte) values define "well known" properties for an Actor / Player.
These constants are used internally. "Custom properties" have to use a string-type as key. They can be assigned at will.
Member Data Documentation
◆ IsInactive
const byte Photon.Realtime.ActorProperties.IsInactive = 254 |
(254) Tells you if the player is currently in this game (getting events live).
A server-set value for async games, where players can leave the game and return later.
◆ PlayerName
const byte Photon.Realtime.ActorProperties.PlayerName = 255 |
(255) Name of a player/actor.
◆ UserId
const byte Photon.Realtime.ActorProperties.UserId = 253 |
(253) UserId of the player. Sent when room gets created with RoomOptions.PublishUserId = true.
The documentation for this class was generated from the following file:
- 3rd-Party/Photon/PhotonRealtime/Code/LoadbalancingPeer.cs