MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / BuildCachedTargets

Function BuildCachedTargets

Source/Engine/Networking/NetworkReplicator.cpp:393–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void BuildCachedTargets(const Array<NetworkClient*>& clients)
394{
395 CachedTargets.Clear();
396 for (const NetworkClient* client : clients)
397 {
398 if (client->State == NetworkConnectionState::Connected)
399 CachedTargets.Add(client->Connection);
400 }
401}
402
403void BuildCachedTargets(const Array<NetworkClient*>& clients, const NetworkClient* excludedClient)
404{

Callers 5

SendObjectSpawnMessageFunction · 0.85
SendObjectRoleMessageFunction · 0.85
SendDespawnFunction · 0.85
SendReplicationFunction · 0.85
SendRpcFunction · 0.85

Calls 6

ClearMethod · 0.45
AddMethod · 0.45
IsValidMethod · 0.45
CountMethod · 0.45
GetMethod · 0.45
LengthMethod · 0.45

Tested by

no test coverage detected