Inherits Multiplayer::IReplicationWindow.
◆ AddEntity()
bool Multiplayer::NullReplicationWindow::AddEntity |
( |
AZ::Entity * |
entity | ) |
|
|
overridevirtual |
Adds an entity to the replication window's set
- Parameters
-
entity | The entity to try adding |
- Returns
- Whether the entity was able to be added
Implements Multiplayer::IReplicationWindow.
◆ DebugDraw()
void Multiplayer::NullReplicationWindow::DebugDraw |
( |
| ) |
const |
|
overridevirtual |
◆ GetMaxProxyEntityReplicatorSendCount()
uint32_t Multiplayer::NullReplicationWindow::GetMaxProxyEntityReplicatorSendCount |
( |
| ) |
const |
|
overridevirtual |
Max number of entities we can send updates for in one frame.
- Returns
- the max number of entities we can send updates for in one frame
Implements Multiplayer::IReplicationWindow.
◆ GetReplicationSet()
const ReplicationSet & Multiplayer::NullReplicationWindow::GetReplicationSet |
( |
| ) |
const |
|
overridevirtual |
Returns the set of entities, roles, and priorities marked for replication by this replication window.
- Returns
- const reference to the replication windows replication set
Implements Multiplayer::IReplicationWindow.
◆ IsInWindow()
bool Multiplayer::NullReplicationWindow::IsInWindow |
( |
const ConstNetworkEntityHandle & |
entityPtr, |
|
|
NetEntityRole & |
outNetworkRole |
|
) |
| const |
|
overridevirtual |
Returns true if the provided network entity is within this replication window.
- Parameters
-
entityPtr | the handle of the entity to test for inclusion |
outNetworkRole | output containing the network role of the requested entity if found |
Implements Multiplayer::IReplicationWindow.
◆ RemoveEntity()
void Multiplayer::NullReplicationWindow::RemoveEntity |
( |
AZ::Entity * |
entity | ) |
|
|
overridevirtual |
◆ ReplicationSetUpdateReady()
bool Multiplayer::NullReplicationWindow::ReplicationSetUpdateReady |
( |
| ) |
|
|
overridevirtual |
◆ SendEntityResets()
void Multiplayer::NullReplicationWindow::SendEntityResets |
( |
const NetEntityIdSet & |
resetIds | ) |
|
|
overridevirtual |
This sends an EntityReset message on the associated network interface and connection. This will reset the replicators on the remote endpoint and cause a full refresh of the specified entities
- Parameters
-
resetIds | the set of netEntityIds to refresh |
Implements Multiplayer::IReplicationWindow.
◆ SendEntityRpcs()
void Multiplayer::NullReplicationWindow::SendEntityRpcs |
( |
NetworkEntityRpcVector & |
entityRpcVector, |
|
|
bool |
reliable |
|
) |
| |
|
overridevirtual |
This sends an EntityRpcs message on the associated network interface and connection.
- Parameters
-
entityRpcVector | the rpc data set to transmit |
reliable | if a value of true is passed, the rpc message will be sent reliably, unreliably if false |
Implements Multiplayer::IReplicationWindow.
◆ SendEntityUpdateMessages()
AzNetworking::PacketId Multiplayer::NullReplicationWindow::SendEntityUpdateMessages |
( |
NetworkEntityUpdateVector & |
entityUpdateVector | ) |
|
|
overridevirtual |
This sends an EntityUpdate message on the associated network interface and connection.
- Parameters
-
entityUpdateVector | set of entity updates |
- Returns
- the packetId of the sent update message, or InvalidPacketId in the case of failure
Implements Multiplayer::IReplicationWindow.
◆ UpdateWindow()
void Multiplayer::NullReplicationWindow::UpdateWindow |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Gems/Multiplayer/Code/Source/ReplicationWindows/NullReplicationWindow.h