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

◆ IsAuthoritative()

bool IsAuthoritative ( )
protected

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

170 {
171 DayZPlayer player;
172 if (!Class.CastTo(player, GetInventoryOwner()))
173 {
174 return false;
175 }
176
177 return (player.GetInstanceType() != DayZPlayerInstanceType.INSTANCETYPE_CLIENT && player.GetInstanceType() != DayZPlayerInstanceType.INSTANCETYPE_REMOTE);
178 }
Super root of all classes in Enforce script.
Определения EnScript.c:11
Определения DayZPlayerImplement.c:87
DayZPlayerInstanceType
defined in C++
Определения dayzplayer.c:1071
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

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