Photon Fusion
2.0.8
RpcInfo is a struct that contains information about the RPC message. More...
Public Member Functions | |
| override string | ToString () |
| Returns a string that represents the current RpcInfo. More... | |
Static Public Member Functions | |
| static RpcInfo | FromLocal (NetworkRunner runner, RpcChannel channel, RpcHostMode hostMode) |
| Creates a new RpcInfo instance for a local RPC message. More... | |
| static unsafe RpcInfo | FromMessage (NetworkRunner runner, SimulationMessage *message, RpcHostMode hostMode) |
| Creates a new RpcInfo instance from a SimulationMessage. More... | |
Public Attributes | |
| RpcChannel | Channel |
| Represents the channel through which the RPC message was sent. More... | |
| bool | IsInvokeLocal |
| Indicates whether the RPC message is invoked locally. More... | |
| PlayerRef | Source |
| Represents the player who sent the RPC message. More... | |
| Tick | Tick |
| Represents the tick at which the RPC message was sent. More... | |
RpcInfo is a struct that contains information about the RPC message.
|
static |
Creates a new RpcInfo instance for a local RPC message.
| runner | The NetworkRunner associated with the RPC message. |
| channel | The RpcChannel through which the RPC message was sent. |
| hostMode | The RpcHostMode of the RPC message. |
|
static |
Creates a new RpcInfo instance from a SimulationMessage.
| runner | The NetworkRunner associated with the RPC message. |
| message | The SimulationMessage from which to create the RpcInfo instance. |
| hostMode | The RpcHostMode of the RPC message. |
| override string ToString | ( | ) |
| RpcChannel Channel |
Represents the channel through which the RPC message was sent.
| bool IsInvokeLocal |
Indicates whether the RPC message is invoked locally.
| PlayerRef Source |
Represents the player who sent the RPC message.