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
}
Class
Super root of all classes in Enforce script.
Определения
EnScript.c:11
DayZPlayer
Определения
DayZPlayerImplement.c:87
DayZPlayerInstanceType
DayZPlayerInstanceType
defined in C++
Определения
dayzplayer.c:1084
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