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

◆ OnItemLocationChanged()

override void OnItemLocationChanged ( EntityAI old_owner,
EntityAI new_owner )
protected

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

114 {
115 super.OnItemLocationChanged(old_owner, new_owner);
116
117 //Check combination lock
118 if (g_Game.IsServer())
119 {
120 if (IsInitialized() && new_owner && new_owner.CanUseConstruction())
121 {
122 LockServer(new_owner);
123 }
124 }
125 }
override bool IsInitialized()
Определения CombinationLock.c:96
void LockServer(EntityAI parent, bool ignore_combination=false)
Определения CombinationLock.c:384
DayZGame g_Game
Определения DayZGame.c:4074

Перекрестные ссылки g_Game, IsInitialized() и LockServer().