Add NetworkReplicationNode::GetObject
This commit is contained in:
@@ -200,6 +200,14 @@ API_CLASS(Abstract, Namespace = "FlaxEngine.Networking") class FLAXENGINE_API Ne
|
||||
/// <returns>True on successful removal, otherwise false.</returns>
|
||||
API_FUNCTION() virtual bool RemoveObject(ScriptingObject* obj);
|
||||
|
||||
/// <summary>
|
||||
/// Gets object from the hierarchy.
|
||||
/// </summary>
|
||||
/// <param name="obj">The object to get.</param>
|
||||
/// <param name="result">The hierarchy object to retrieve.</param>
|
||||
/// <returns>True on successful retrieval, otherwise false.</returns>
|
||||
API_FUNCTION() bool GetObject(ScriptingObject* obj, NetworkReplicationHierarchyObject& result);
|
||||
|
||||
/// <summary>
|
||||
/// Force replicates the object during the next update. Resets any internal tracking state to force the synchronization.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user