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

◆ CreateNetworkObjectInfo()

void ReplaceItemWithNewLambdaBase::CreateNetworkObjectInfo ( EntityAI new_item)
inlineprotected

Step G. - create NetworkObjectInfo for new item.

@NOTE: new_item can be null if the lambda did not create any item (intentionaly)

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

213 {
214 if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("[inv] ReplaceItemWithNewLambdaBase Step G) CreateNetworkObjectInfo =" + new_item);
215 if (new_item)
216 g_Game.RemoteObjectTreeCreate(new_item); // G) this forces server to send CreateVehicle 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.
217 }
DayZGame g_Game
Определения DayZGame.c:3942
void hndDebugPrint(string s)
Определения HandFSM.c:1

Перекрестные ссылки g_Game, hndDebugPrint() и LogManager::IsInventoryHFSMLogEnable().

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