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

Method DirtyObject

Source/Engine/Networking/NetworkReplicator.cpp:1795–1805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1793}
1794
1795void NetworkReplicator::DirtyObject(ScriptingObject* obj)
1796{
1797 ScopeLock lock(ObjectsLock);
1798 const auto it = Objects.Find(obj->GetID());
1799 if (it == Objects.End())
1800 return;
1801 auto& item = it->Item;
1802 if (item.Object != obj || item.Role != NetworkObjectRole::OwnedAuthoritative)
1803 return;
1804 DirtyObjectImpl(item, obj);
1805}
1806
1807Dictionary<NetworkRpcName, NetworkRpcInfo> NetworkRpcInfo::RPCsTable;
1808

Callers 2

DirtyObjectImplFunction · 0.45

Calls 4

DirtyObjectImplFunction · 0.85
GetIDMethod · 0.80
FindMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected