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

◆ IsOwner()

bool IsOwner ( )
protected

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

182 {
183 DayZPlayer player;
184 if (!Class.CastTo(player, GetInventoryOwner()))
185 {
186 return false;
187 }
188
189 return (player.GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_CLIENT || player.GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_AI_SERVER || player.GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_AI_SINGLEPLAYER);
190 }
Super root of all classes in Enforce script.
Определения EnScript.c:11
DayZPlayerInstanceType
defined in C++
Определения dayzplayer.c:1068
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

Перекрестные ссылки Class::CastTo().