Remote procedure call data.
More...
#include <NetworkEntityRpcMessage.h>
Remote procedure call data.
◆ NetworkEntityRpcMessage()
| Multiplayer::NetworkEntityRpcMessage::NetworkEntityRpcMessage |
( |
RpcDeliveryType |
rpcDeliveryType, |
|
|
NetEntityId |
entityId, |
|
|
NetComponentId |
componentId, |
|
|
RpcIndex |
rpcIndex, |
|
|
ReliabilityType |
isReliable |
|
) |
| |
|
explicit |
Fill explicit constructor.
- Parameters
-
| rpcDeliveryType | the delivery type (origin and target) for this rpc |
| entityId | the networked entityId of the entity handling this rpc |
| componentType | the networked componentId of the component handling this rpc |
| rpcIndex | the component defined rpc index, so the component knows which rpc this message corresponds to |
| isReliable | whether or not this rpc should be sent reliably |
◆ GetComponentId()
| NetComponentId Multiplayer::NetworkEntityRpcMessage::GetComponentId |
( |
| ) |
const |
Gets the current value of EntityComponentType.
- Returns
- the current value of EntityComponentType
◆ GetEntityId()
| NetEntityId Multiplayer::NetworkEntityRpcMessage::GetEntityId |
( |
| ) |
const |
Gets the current value of EntityId.
- Returns
- the current value of EntityId
◆ GetEstimatedSerializeSize()
| uint32_t Multiplayer::NetworkEntityRpcMessage::GetEstimatedSerializeSize |
( |
| ) |
const |
◆ GetReliability()
| ReliabilityType Multiplayer::NetworkEntityRpcMessage::GetReliability |
( |
| ) |
const |
Returns whether or not this RPC has been flagged for reliable delivery.
- Returns
- the reliability type of this RPC
◆ GetRpcDeliveryType()
| RpcDeliveryType Multiplayer::NetworkEntityRpcMessage::GetRpcDeliveryType |
( |
| ) |
const |
Gets the current value of RpcDeliveryType.
- Returns
- the current value of RpcDeliveryType
◆ GetRpcIndex()
| RpcIndex Multiplayer::NetworkEntityRpcMessage::GetRpcIndex |
( |
| ) |
const |
Gets the current value of RpcIndex.
- Returns
- the current value of RpcIndex
◆ GetRpcParams()
| bool Multiplayer::NetworkEntityRpcMessage::GetRpcParams |
( |
IRpcParamStruct & |
outParams | ) |
|
Reads the data contained inside this NetworkEntityRpcMessage's blob buffer and stores them in outParams.
- Parameters
-
| outParams | the parameters instance to store to the resulting data inside |
◆ Serialize()
| bool Multiplayer::NetworkEntityRpcMessage::Serialize |
( |
AzNetworking::ISerializer & |
serializer | ) |
|
Base serialize method for all serializable structures or classes to implement.
- Parameters
-
| serializer | ISerializer instance to use for serialization |
- Returns
- boolean true for success, false for serialization failure
◆ SetReliability()
| void Multiplayer::NetworkEntityRpcMessage::SetReliability |
( |
ReliabilityType |
reliabilityType | ) |
|
Sets this RPC's reliable delivery flag.
- Parameters
-
| reliabilityType | the reliability type for this RPC |
◆ SetRpcDeliveryType()
| void Multiplayer::NetworkEntityRpcMessage::SetRpcDeliveryType |
( |
RpcDeliveryType |
value | ) |
|
Sets the current value for RpcDeliveryType.
- Parameters
-
| value | the value to set RpcDeliveryType to |
◆ SetRpcParams()
| bool Multiplayer::NetworkEntityRpcMessage::SetRpcParams |
( |
IRpcParamStruct & |
params | ) |
|
The documentation for this class was generated from the following file:
- Gems/Multiplayer/Code/Include/Multiplayer/NetworkEntity/NetworkEntityRpcMessage.h