Photon Server API Documentation v5.0RC1

Classes | Enumerations
Photon.NameServer.Operations Namespace Reference

Classes

class  AuthenticateRequest
 
class  AuthenticateResponse
 
class  AuthOnceRequest
 
class  GetRegionListRequest
 
class  GetRegionListResponse
 

Enumerations

enum  OperationCode : byte { OperationCode.AuthOnce = 231, OperationCode.Authenticate = 230, OperationCode.GetRegionList = 220 }
 
enum  ParameterKey : byte {
  ParameterKey.GameId = 255, ParameterKey.ActorNr = 254, ParameterKey.TargetActorNr = 253, ParameterKey.Actors = 252,
  ParameterKey.Properties = 251, ParameterKey.Broadcast = 250, ParameterKey.ActorProperties = 249, ParameterKey.GameProperties = 248,
  ParameterKey.Cache = 247, ParameterKey.ReceiverGroup = 246, ParameterKey.Data = 245, ParameterKey.Code = 244,
  ParameterKey.Flush = 243, ParameterKey.DeleteCacheOnLeave = 241, ParameterKey.Group = 240, ParameterKey.GroupsForRemove = 239,
  ParameterKey.GroupsForAdd = 238, ParameterKey.SuppressRoomEvents = 237, ParameterKey.EmptyRoomLiveTime = 236, ParameterKey.PlayerTTL = 235,
  ParameterKey.HttpForward = 234, ParameterKey.WebFlags = 234, ParameterKey.Address = 230, ParameterKey.PeerCount = 229,
  ParameterKey.GameCount = 228, ParameterKey.MasterPeerCount = 227, ParameterKey.UserId = 225, ParameterKey.ApplicationId = 224,
  ParameterKey.Position = 223, ParameterKey.GameList = 222, ParameterKey.Token = 221, ParameterKey.AppVersion = 220,
  ParameterKey.NodeId = 219, ParameterKey.Info = 218, ParameterKey.ClientAuthenticationType = 217, ParameterKey.ClientAuthenticationParams = 216,
  ParameterKey.CreateIfNotExists = 215, ParameterKey.ClientAuthenticationData = 214, ParameterKey.LobbyName = 213, ParameterKey.LobbyType = 212,
  ParameterKey.LobbyStats = 211, ParameterKey.Region = 210, ParameterKey.Nickname = 202, ParameterKey.Flags = 199,
  ParameterKey.CloudType = 198, ParameterKey.GameRemoveReason = 197, ParameterKey.Cluster = 196, ParameterKey.ExpectedProtocol = 195,
  ParameterKey.CustomInitData = 194, ParameterKey.EncryptionMode = 193, ParameterKey.EncryptionData = 192, ParameterKey.AuthMode = 191
}
 

Enumeration Type Documentation

◆ OperationCode

Enumerator
AuthOnce 
Authenticate 
GetRegionList 

◆ ParameterKey

Enumerator
GameId 

The game id.

ActorNr 

The actor nr used as op-key and ev-key

TargetActorNr 

The target actor nr.

Actors 

The actors.

Properties 

The properties.

Broadcast 

The broadcast.

ActorProperties 

The actor properties.

GameProperties 

The game properties.

Cache 

Event parameter to indicate whether events are cached for new actors.

ReceiverGroup 

Event parameter containing a Photon.Hive.Operations.ReceiverGroup value.

Data 

The data.

Code 

The paramter code for the raise event operations event code.

Flush 

the flush event code for raise event.

DeleteCacheOnLeave 

Event parameter to indicate whether cached events are deleted automaticly for actors leaving a room.

Group 

The group this event should be sent to. No error is happening if the group is empty or not existing.

GroupsForRemove 

Groups to leave. Null won't remove any groups. byte[0] will remove ALL groups. Otherwise only the groups listed will be removed.

GroupsForAdd 

Groups to enter. Null won't add groups. byte[0] will add ALL groups. Otherwise only the groups listed will be added.

SuppressRoomEvents 

A parameter indicating if common room events (Join, Leave) will be suppressed.

EmptyRoomLiveTime 

A parameter indicating how long a room instance should be kept alive in the room cache after all players left the room.

PlayerTTL 

A parameter indicating how long a player is allowd to rejoin.

HttpForward 

A parameter indicating that content of room event should be forwarded to some server

WebFlags 
Address 
PeerCount 
GameCount 
MasterPeerCount 
UserId 
ApplicationId 
Position 
GameList 
Token 
AppVersion 
NodeId 
Info 
ClientAuthenticationType 
ClientAuthenticationParams 
CreateIfNotExists 
ClientAuthenticationData 
LobbyName 
LobbyType 
LobbyStats 
Region 
Nickname 
Flags 
CloudType 
GameRemoveReason 
Cluster 
ExpectedProtocol 
CustomInitData 
EncryptionMode 
EncryptionData 
AuthMode