Photon Server API
Classes | Enumerations
Photon.MmoDemo.Common Namespace Reference

Classes

struct  BoundingBox
 The 3D floating point bounding box. More...
 
class  Protocol
 (De)serialization procedures used in server and client. More...
 
struct  Vector
 The 3D floating point vector. More...
 

Enumerations

enum  EventCode : byte {
  EventCode.ItemDestroyed = 1, EventCode.ItemMoved, EventCode.ItemPropertiesSet, EventCode.WorldExited,
  EventCode.ItemSubscribed, EventCode.ItemUnsubscribed, EventCode.ItemProperties, EventCode.RadarUpdate,
  EventCode.CounterData, EventCode.ItemGeneric
}
 All known event codes. More...
 
enum  EventReceiver { EventReceiver.ItemSubscriber = 1, EventReceiver.ItemOwner = 2 }
 All known event receivers. Used for operation RaiseGenericEvent/>. More...
 
enum  ItemType { ItemType.Avatar, ItemType.Bot }
 All know item types. More...
 
enum  OperationCode : byte {
  OperationCode.Nil = 0, OperationCode.CreateWorld = 90, OperationCode.EnterWorld = 91, OperationCode.ExitWorld = 92,
  OperationCode.Move = 93, OperationCode.RaiseGenericEvent = 94, OperationCode.SetProperties = 95, OperationCode.SpawnItem = 96,
  OperationCode.DestroyItem = 97, OperationCode.SubscribeItem = 98, OperationCode.UnsubscribeItem = 99, OperationCode.SetViewDistance = 100,
  OperationCode.AttachInterestArea = 101, OperationCode.DetachInterestArea = 102, OperationCode.AddInterestArea = 103, OperationCode.RemoveInterestArea = 104,
  OperationCode.GetProperties = 105, OperationCode.MoveInterestArea = 106, OperationCode.RadarSubscribe = 107, OperationCode.UnsubscribeCounter = 108,
  OperationCode.SubscribeCounter = 109
}
 Known operation codes. More...
 
enum  ParameterCode : byte {
  ParameterCode.EventCode = 60, ParameterCode.Username = 91, ParameterCode.OldPosition = 92, ParameterCode.Position = 93,
  ParameterCode.Properties = 94, ParameterCode.ItemId = 95, ParameterCode.ItemType = 96, ParameterCode.PropertiesRevision = 97,
  ParameterCode.CustomEventCode = 98, ParameterCode.EventData = 99, ParameterCode.BoundingBox = 100, ParameterCode.TileDimensions = 101,
  ParameterCode.WorldName = 103, ParameterCode.ViewDistanceEnter = 104, ParameterCode.PropertiesSet = 105, ParameterCode.PropertiesUnset = 106,
  ParameterCode.EventReliability = 107, ParameterCode.EventReceiver = 108, ParameterCode.Subscribe = 109, ParameterCode.ViewDistanceExit = 110,
  ParameterCode.InterestAreaId = 111, ParameterCode.CounterReceiveInterval = 112, ParameterCode.CounterName = 113, ParameterCode.CounterTimeStamps = 114,
  ParameterCode.CounterValues = 115, ParameterCode.Rotation = 116, ParameterCode.OldRotation = 117, ParameterCode.Remove = 118
}
 Values used for event parameter, operation request parameter and operation response parameter. More...
 
enum  ReturnCode {
  ReturnCode.Ok = 0, ReturnCode.Fatal = 1, ReturnCode.ParameterOutOfRange = 51, ReturnCode.OperationNotSupported,
  ReturnCode.InvalidOperationParameter, ReturnCode.InvalidOperation, ReturnCode.ItemAccessDenied, ReturnCode.InterestAreaNotFound,
  ReturnCode.InterestAreaAlreadyExists, ReturnCode.WorldAlreadyExists = 101, ReturnCode.WorldNotFound, ReturnCode.ItemAlreadyExists,
  ReturnCode.ItemNotFound
}
 All known error codes. More...
 

Enumeration Type Documentation

enum Photon.MmoDemo.Common.EventCode : byte
strong

All known event codes.

Enumerator
ItemDestroyed 
ItemMoved 
ItemPropertiesSet 
WorldExited 
ItemSubscribed 
ItemUnsubscribed 
ItemProperties 
RadarUpdate 
CounterData 
ItemGeneric 

All known event receivers. Used for operation RaiseGenericEvent/>.

Enumerator
ItemSubscriber 
ItemOwner 

All know item types.

Enumerator
Avatar 
Bot 

Known operation codes.

Enumerator
Nil 
CreateWorld 
EnterWorld 
ExitWorld 
Move 
RaiseGenericEvent 
SetProperties 
SpawnItem 
DestroyItem 
SubscribeItem 
UnsubscribeItem 
SetViewDistance 
AttachInterestArea 
DetachInterestArea 
AddInterestArea 
RemoveInterestArea 
GetProperties 
MoveInterestArea 
RadarSubscribe 
UnsubscribeCounter 
SubscribeCounter 

Values used for event parameter, operation request parameter and operation response parameter.

Enumerator
EventCode 
Username 
OldPosition 
Position 
Properties 
ItemId 
ItemType 
PropertiesRevision 
CustomEventCode 
EventData 
BoundingBox 
TileDimensions 
WorldName 
ViewDistanceEnter 
PropertiesSet 
PropertiesUnset 
EventReliability 
EventReceiver 
Subscribe 
ViewDistanceExit 
InterestAreaId 
CounterReceiveInterval 
CounterName 
CounterTimeStamps 
CounterValues 
Rotation 
OldRotation 
Remove 

All known error codes.

Enumerator
Ok 
Fatal 
ParameterOutOfRange 
OperationNotSupported 
InvalidOperationParameter 
InvalidOperation 
ItemAccessDenied 
InterestAreaNotFound 
InterestAreaAlreadyExists 
WorldAlreadyExists 
WorldNotFound 
ItemAlreadyExists 
ItemNotFound