DayZ
1.29
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
IsOwner()
bool
IsOwner
(
)
protected
См. определение в файле
DayZPlayerInventory.c
строка
180
181
{
182
DayZPlayer
player;
183
if
(!
Class
.
CastTo
(player, GetInventoryOwner()))
184
{
185
return
false
;
186
}
187
188
return
(player.GetInstanceType() ==
DayZPlayerInstanceType
.INSTANCETYPE_CLIENT || player.GetInstanceType() ==
DayZPlayerInstanceType
.INSTANCETYPE_AI_SERVER || player.GetInstanceType() ==
DayZPlayerInstanceType
.INSTANCETYPE_AI_SINGLEPLAYER);
189
}
Class
Super root of all classes in Enforce script.
Определения
EnScript.c:11
DayZPlayer
Определения
DayZPlayerImplement.c:87
DayZPlayerInstanceType
DayZPlayerInstanceType
defined in C++
Определения
dayzplayer.c:1071
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки
Class::CastTo()
.
Ishodniki
scripts
4_World
DayZ
Systems
Inventory
DayZPlayerInventory.c
Создано системой
1.13.2