DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ RemoveNetworkObjectInfo()

void ReplaceItemWithNewLambdaBase::RemoveNetworkObjectInfo ( )
inlineprotected

Step C. - remove network part of the object @NOTE this operation does not delete the object, only removes its network part (and deletes it on client)

См. определение в файле ReplaceItemWithNewLambdaBase.c строка 107

108 {
109 GetGame().RemoteObjectTreeDelete(m_OldItem); // C) this forces server to send DeleteObject Message to client. This is needed for preserving the appearance of network operations on client (so that DeleteObject(old) arrives before CreateVehicle(new)). @NOTE: this does not delete the object on server, only it's network representation.
110 // @NOTE: the item is not deleted right now on server, but rather after copying the properties in Step E)
112 }
proto native void RemoteObjectTreeDelete(Object obj)
RemoteObjectDelete - deletes only remote object (unregisters from network). do not use if not sure wh...
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_OldItem, m_RemoveNetworkObjectInfoPassed и CGame::RemoteObjectTreeDelete().

Используется в Execute().