Photon Server API
Public Member Functions | Properties | List of all members
Photon.MmoDemo.Server.Operations.EnterWorld Class Reference

The operation enters client into world. More...

Inheritance diagram for Photon.MmoDemo.Server.Operations.EnterWorld:
Photon.SocketServer.Rpc.Operation Photon.SocketServer.Rpc.DataContract

Public Member Functions

 EnterWorld (IRpcProtocol protocol, OperationRequest request)
OperationResponse GetOperationResponse (short errorCode, string debugMessage)
OperationResponse GetOperationResponse (MethodReturnValue returnValue)
- Public Member Functions inherited from Photon.SocketServer.Rpc.Operation
 Operation (IRpcProtocol protocol, OperationRequest request)
 Initializes a new instance of the Operation class. This contructor is used for incoming operations. More...
 Operation ()
 Initializes a new instance of the Operation class. This contructor is used for outgoing operations. More...
void OnComplete ()
 Updates photon counters for the measure execution time. Call OnStart first. More...
void OnStart ()
 Starts measuring the execution time. Call OnComplete to update photon counters. More...
- Public Member Functions inherited from Photon.SocketServer.Rpc.DataContract
string GetErrorMessage ()
 Gets a message containing descriptive entries for each missing or invalid paramter. More...
Dictionary< byte, object > ToDictionary ()
 Converts all properties flagged with the DataMemberAttribute to a dictionary. More...


byte InterestAreaId [get, set]
Vector Position [get, set]
Hashtable Properties [get, set]
Vector Rotation [get, set]
string Username [get, set]
Vector ViewDistanceEnter [get, set]
Vector ViewDistanceExit [get, set]
string WorldName [get, set]
- Properties inherited from Photon.SocketServer.Rpc.Operation
OperationRequest OperationRequest [get]
 Gets the OperationRequest. More...
- Properties inherited from Photon.SocketServer.Rpc.DataContract
bool IsValid [get]
 Gets a value indicating whether all operation parameter are initialized. Call the GetErrorMessage method to get a detailed description for all missing parameters. More...

Additional Inherited Members

- Protected Member Functions inherited from Photon.SocketServer.Rpc.DataContract
 DataContract (IRpcProtocol protocol, IDictionary< byte, object > dataMembers)
 Initializes a new instance of the DataContract class. The params dictionary is mapped to properties flagged with the DataMemberAttribute. Check the IsValid property after creation to determine if all paramters have been initialized correctly. More...
 DataContract ()
 Initializes a new instance of the DataContract class. More...
- Protected Attributes inherited from Photon.SocketServer.Rpc.DataContract
string errorMessage
 The error message. More...
bool isValid
 The is valid. More...

Detailed Description

The operation enters client into world.

This operation is allowed BEFORE having entered an World with operation EnterWorld or AFTER having exited it with operaiton ExitWorld.

Constructor & Destructor Documentation

Photon.MmoDemo.Server.Operations.EnterWorld.EnterWorld ( IRpcProtocol  protocol,
OperationRequest  request 

Member Function Documentation

OperationResponse Photon.MmoDemo.Server.Operations.EnterWorld.GetOperationResponse ( short  errorCode,
string  debugMessage 
OperationResponse Photon.MmoDemo.Server.Operations.EnterWorld.GetOperationResponse ( MethodReturnValue  returnValue)

Property Documentation

byte Photon.MmoDemo.Server.Operations.EnterWorld.InterestAreaId
Vector Photon.MmoDemo.Server.Operations.EnterWorld.Position
Hashtable Photon.MmoDemo.Server.Operations.EnterWorld.Properties
Vector Photon.MmoDemo.Server.Operations.EnterWorld.Rotation
string Photon.MmoDemo.Server.Operations.EnterWorld.Username
Vector Photon.MmoDemo.Server.Operations.EnterWorld.ViewDistanceEnter
Vector Photon.MmoDemo.Server.Operations.EnterWorld.ViewDistanceExit
string Photon.MmoDemo.Server.Operations.EnterWorld.WorldName