Reads an operation response of a WebRpc and provides convenient access to most common values.
More...
Reads an operation response of a WebRpc and provides convenient access to most common values.
See LoadBalancingClient.OpWebRpc.
Create a WebRpcResponse to access common result values.
The operationResponse.OperationCode should be: OperationCode.WebRpc.
◆ WebRpcResponse()
An OperationResponse for a WebRpc is needed to read it's values.
◆ ToStringFull()
string Photon.Realtime.WebRpcResponse.ToStringFull |
( |
| ) |
|
|
inline |
Turns the response into an easier to read string.
- Returns
- String resembling the result.
◆ DebugMessage
string Photon.Realtime.WebRpcResponse.DebugMessage |
|
get |
◆ Message
string Photon.Realtime.WebRpcResponse.Message |
|
get |
◆ Name
string Photon.Realtime.WebRpcResponse.Name |
|
get |
Name of the WebRpc that was called.
◆ Parameters
Dictionary<string, object> Photon.Realtime.WebRpcResponse.Parameters |
|
get |
Other key/values returned by the webservice that answered the WebRpc.
◆ ResultCode
int Photon.Realtime.WebRpcResponse.ResultCode |
|
get |
ResultCode of the WebService that answered the WebRpc.
0 is: "OK" for WebRPCs.
-1 is: No ResultCode by WebRpc service (check OperationResponse.ReturnCode).
Other ResultCode are defined by the individual WebRpc and service.
◆ ReturnCode
int Photon.Realtime.WebRpcResponse.ReturnCode |
|
get |
The documentation for this class was generated from the following file:
- D:/ExitGames/src/photon-sdk-dotnet-release-clean/PhotonLoadbalancingApi/WebRpc.cs