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

◆ IsOwner()

bool IsOwner ( )
protected

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

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

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