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

◆ IsInherited()

proto native external bool Class::IsInherited ( typename type )
private

Returns true when instance is of the type, or inherited one.

Аргументы
typeClass type
Возвращает
bool true when 'clType' is the same as 'type', or inherited one.
if (inst && inst.IsInherited(Widget))
{
Print("inst is inherited from Widget class!");
}
Определения EnWidgets.c:190
proto void Print(void var)
Prints content of variable to console/log.