Quantum 3 3.1.0

Static Public Attributes | List of all members
Photon.Realtime.EventCode Class Reference

Class for constants. These values are for events defined by Photon Realtime. More...

Static Public Attributes

const byte AppStats = 226
 (226) Event with stats about this application (players, rooms, etc) More...
 
const byte AuthEvent = 223
 (223) Sent by Photon to update a token before it times out. More...
 
const byte CacheSliceChanged = 250
 (250) Sent by Photon whent he event cache slice was changed. Done by OpRaiseEvent. More...
 
const byte CommandEvent = 220
 (220) Used with some first party plugins (e.g. Matchmaking Tickets and Voice Interest Management). More...
 
const byte ErrorInfo = 251
 (251) Sent by Photon Cloud when a plugin-call or webhook-call failed or events cache limit exceeded. Usually, the execution on the server continues, despite the issue. Contains: ParameterCode.Info. More...
 
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 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 LobbyStats = 224
 (224) This event provides a list of lobbies with their player and game counts. More...
 
const byte Match = 227
 (227) Currently not used. Event for matchmaking 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 QueueState = 228
 (228) Currently not used. State of queueing in case of server-full More...
 

Detailed Description

Class for constants. These values are for events defined by Photon Realtime.

They start at 255 and go DOWN. Your own in-game events can start at 0. These constants are used internally.

Member Data Documentation

◆ GameList

const byte Photon.Realtime.EventCode.GameList = 230
static

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

◆ GameListUpdate

const byte Photon.Realtime.EventCode.GameListUpdate = 229
static

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

◆ QueueState

const byte Photon.Realtime.EventCode.QueueState = 228
static

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

◆ Match

const byte Photon.Realtime.EventCode.Match = 227
static

(227) Currently not used. Event for matchmaking

◆ AppStats

const byte Photon.Realtime.EventCode.AppStats = 226
static

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

◆ LobbyStats

const byte Photon.Realtime.EventCode.LobbyStats = 224
static

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

◆ Join

const byte Photon.Realtime.EventCode.Join = (byte)255
static

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

◆ Leave

const byte Photon.Realtime.EventCode.Leave = (byte)254
static

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

◆ PropertiesChanged

const byte Photon.Realtime.EventCode.PropertiesChanged = (byte)253
static

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

◆ ErrorInfo

const byte Photon.Realtime.EventCode.ErrorInfo = 251
static

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

(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;

◆ CacheSliceChanged

const byte Photon.Realtime.EventCode.CacheSliceChanged = 250
static

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

◆ AuthEvent

const byte Photon.Realtime.EventCode.AuthEvent = 223
static

(223) Sent by Photon to update a token before it times out.

◆ CommandEvent

const byte Photon.Realtime.EventCode.CommandEvent = 220
static

(220) Used with some first party plugins (e.g. Matchmaking Tickets and Voice Interest Management).

The content of a CommandEvent is of type object[] and the first entry in it a byte naming the use. Refer to CommandEventSubcode.