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

◆ EEItemLocationChanged()

override void DigitalCodeLock::EEItemLocationChanged ( notnull InventoryLocation oldLoc,
notnull InventoryLocation newLoc )
inlineprotected

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

53 {
54 super.EEItemLocationChanged(oldLoc, newLoc);
55
56 if (g_Game.IsServer() || !g_Game.IsMultiplayer()) // single player or server side multiplayer
57 {
58 if (newLoc.GetType() != InventoryLocationType.ATTACHMENT)
59 {
60 if (g_Game.IsDedicatedServer())
61 SetSynchDirty();
62
63 // Force update since animation need too change
65 }
66 }
67 }
DayZGame g_Game
Определения DayZGame.c:4074
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4
void UpdateVisuals()
Определения CodeLock.c:455

Перекрестные ссылки g_Game и UpdateVisuals().