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

Function AddObject

Source/Engine/Networking/NetworkReplicationHierarchy.h:173–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171
172 // Adds object to the update results.
173 API_FUNCTION() void AddObject(ScriptingObject* obj)
174 {
175 Entry& e = _entries.AddOne();
176 e.Object = obj;
177 e.TargetClients = NetworkClientsMask::All;
178 }
179
180 // Adds object to the update results. Defines specific clients to receive the update (server-only, unused on client). Mask matches NetworkManager::Clients.
181 API_FUNCTION() void AddObject(ScriptingObject* obj, NetworkClientsMask targetClients)

Callers 2

OnEnableMethod · 0.85

Calls 1

AddOneMethod · 0.80

Tested by

no test coverage detected