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

◆ IsAuthoritative()

bool IsAuthoritative ( )
protected

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

173 {
174 DayZPlayer player;
175 if (!Class.CastTo(player, GetInventoryOwner()))
176 {
177 return false;
178 }
179
180 return (player.GetInstanceType() != DayZPlayerInstanceType.INSTANCETYPE_CLIENT && player.GetInstanceType() != DayZPlayerInstanceType.INSTANCETYPE_REMOTE);
181 }
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().