Photon Unity Networking 2 2.45

Static Public Attributes | List of all members
OperationCode Class Reference

Class for constants. Contains operation codes. More...

Static Public Attributes

const byte ExchangeKeysForEncryption = 250
 
const byte Join = 255
 (255) Code for OpJoin, to get into a room. More...
 
const byte AuthenticateOnce = 231
 (231) Authenticates this peer and connects to a virtual application More...
 
const byte Authenticate = 230
 (230) Authenticates this peer and connects to a virtual application More...
 
const byte JoinLobby = 229
 (229) Joins lobby (on master) More...
 
const byte LeaveLobby = 228
 (228) Leaves lobby (on master) More...
 
const byte CreateGame = 227
 (227) Creates a game (or fails if name exists) More...
 
const byte JoinGame = 226
 (226) Join game (by name) More...
 
const byte JoinRandomGame = 225
 (225) Joins random game (on master) More...
 
const byte Leave = (byte)254
 (254) Code for OpLeave, to get out of a room. More...
 
const byte RaiseEvent = (byte)253
 (253) Raise event (in a room, for other actors/players) More...
 
const byte SetProperties = (byte)252
 (252) Set Properties (of room or actor/player) More...
 
const byte GetProperties = (byte)251
 (251) Get Properties More...
 
const byte ChangeGroups = (byte)248
 (248) Operation code to change interest groups in Rooms (Lite application and extending ones). More...
 
const byte FindFriends = 222
 (222) Request the rooms and online status for a list of friends (by name, which should be unique). More...
 
const byte GetLobbyStats = 221
 (221) Request statistics about a specific list of lobbies (their user and game count). More...
 
const byte GetRegions = 220
 (220) Get list of regional servers from a NameServer. More...
 
const byte WebRpc = 219
 (219) WebRpc Operation. More...
 
const byte ServerSettings = 218
 (218) Operation to set some server settings. Used with different parameters on various servers. More...
 
const byte GetGameList = 217
 (217) Get the game list matching a supplied sql filter (SqlListLobby only) More...
 

Detailed Description

Class for constants. Contains operation codes.

These constants are used internally.

Member Data Documentation

◆ Authenticate

const byte Authenticate = 230
static

(230) Authenticates this peer and connects to a virtual application

◆ AuthenticateOnce

const byte AuthenticateOnce = 231
static

(231) Authenticates this peer and connects to a virtual application

◆ ChangeGroups

const byte ChangeGroups = (byte)248
static

(248) Operation code to change interest groups in Rooms (Lite application and extending ones).

◆ CreateGame

const byte CreateGame = 227
static

(227) Creates a game (or fails if name exists)

◆ FindFriends

const byte FindFriends = 222
static

(222) Request the rooms and online status for a list of friends (by name, which should be unique).

◆ GetGameList

const byte GetGameList = 217
static

(217) Get the game list matching a supplied sql filter (SqlListLobby only)

◆ GetLobbyStats

const byte GetLobbyStats = 221
static

(221) Request statistics about a specific list of lobbies (their user and game count).

◆ GetProperties

const byte GetProperties = (byte)251
static

(251) Get Properties

◆ GetRegions

const byte GetRegions = 220
static

(220) Get list of regional servers from a NameServer.

◆ Join

const byte Join = 255
static

(255) Code for OpJoin, to get into a room.

◆ JoinGame

const byte JoinGame = 226
static

(226) Join game (by name)

◆ JoinLobby

const byte JoinLobby = 229
static

(229) Joins lobby (on master)

◆ JoinRandomGame

const byte JoinRandomGame = 225
static

(225) Joins random game (on master)

◆ Leave

const byte Leave = (byte)254
static

(254) Code for OpLeave, to get out of a room.

◆ LeaveLobby

const byte LeaveLobby = 228
static

(228) Leaves lobby (on master)

◆ RaiseEvent

const byte RaiseEvent = (byte)253
static

(253) Raise event (in a room, for other actors/players)

◆ ServerSettings

const byte ServerSettings = 218
static

(218) Operation to set some server settings. Used with different parameters on various servers.

◆ SetProperties

const byte SetProperties = (byte)252
static

(252) Set Properties (of room or actor/player)

◆ WebRpc

const byte WebRpc = 219
static

(219) WebRpc Operation.