Photon .NET Client API
Public Attributes | List of all members
ExitGames.Client.Photon.LoadBalancing.EventCode Class Reference

These values are for events defined by Photon Loadbalancing. More...

Public Attributes

const byte GameList = 230
 (230) Initial list of RoomInfos (in lobby on Master) More...
 
const byte GameListUpdate = 229
 (229) Update of RoomInfos to be merged into "initial" list (in lobby on Master) More...
 
const byte QueueState = 228
 (228) Currently not used. State of queueing in case of server-full More...
 
const byte Match = 227
 (227) Currently not used. Event for matchmaking More...
 
const byte AppStats = 226
 (226) Event with stats about this application (players, rooms, etc) More...
 
const byte LobbyStats = 224
 (224) This event provides a list of lobbies with their player and game counts. More...
 
const byte AzureNodeInfo = 210
 (210) Internally used in case of hosting by Azure More...
 
const byte Join = (byte)255
 (255) Event Join: someone joined the game. The new actorNumber is provided as well as the properties of that actor (if set in OpJoin). More...
 
const byte Leave = (byte)254
 (254) Event Leave: The player who left the game can be identified by the actorNumber. More...
 
const byte PropertiesChanged = (byte)253
 (253) When you call OpSetProperties with the broadcast option "on", this event is fired. It contains the properties being set. More...
 
const byte SetProperties = (byte)253
 (253) When you call OpSetProperties with the broadcast option "on", this event is fired. It contains the properties being set. More...
 
const byte ErrorInfo = 251
 (252) When player left game unexpected and the room has a playerTtl > 0, this event is fired to let everyone know about the timeout. More...
 
const byte CacheSliceChanged = 250
 (250) Sent by Photon whent he event cache slice was changed. Done by OpRaiseEvent. More...
 

Detailed Description

These values are for events defined by Photon Loadbalancing.

They start at 255 and go DOWN. Your own in-game events can start at 0.

Member Data Documentation

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.AppStats = 226

(226) Event with stats about this application (players, rooms, etc)

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.AzureNodeInfo = 210

(210) Internally used in case of hosting by Azure

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.CacheSliceChanged = 250

(250) Sent by Photon whent he event cache slice was changed. Done by OpRaiseEvent.

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.ErrorInfo = 251

(252) When player left game unexpected and the room has a playerTtl > 0, this event is fired to let everyone know about the timeout.

Obsolete. Replaced by Leave. public const byte Disconnect = LiteEventCode.Disconnect;

(251) Sent by Photon Cloud when a plugin-call failed. Usually, the execution on the server continues, despite the issue. Contains: ParameterCode.Info.

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.GameList = 230

(230) Initial list of RoomInfos (in lobby on Master)

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.GameListUpdate = 229

(229) Update of RoomInfos to be merged into "initial" list (in lobby on Master)

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.Join = (byte)255

(255) Event Join: someone joined the game. The new actorNumber is provided as well as the properties of that actor (if set in OpJoin).

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.Leave = (byte)254

(254) Event Leave: The player who left the game can be identified by the actorNumber.

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.LobbyStats = 224

(224) This event provides a list of lobbies with their player and game counts.

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.Match = 227

(227) Currently not used. Event for matchmaking

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.PropertiesChanged = (byte)253

(253) When you call OpSetProperties with the broadcast option "on", this event is fired. It contains the properties being set.

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.QueueState = 228

(228) Currently not used. State of queueing in case of server-full

const byte ExitGames.Client.Photon.LoadBalancing.EventCode.SetProperties = (byte)253

(253) When you call OpSetProperties with the broadcast option "on", this event is fired. It contains the properties being set.


The documentation for this class was generated from the following file: