DIFF

class typenameSource

Methods 10

proto owned string GetModule()

Get the name of the module the typename belongs to

Returns: string Name of parent module (1_Core)

proto native bool IsInherited(typename baseType)

Returns true when type is the same as 'baseType', or inherited one.

baseType
typename

Returns: bool true when type is the same as 'baseType', or inherited one.

???
proto native owned string GetVariableName(int vIdx)
proto native typename GetVariableType(int vIdx)
static string EnumToString(typename e, int enumValue)

Return string name of enum value

DialogPriority prio = DialogPriority.WARNING;
Print( typename.EnumToString(DialogPriority, prio) );
static int StringToEnum(typename e, string enumName)

Return enum value from string name

Print( typename.StringToEnum(DialogPriority, "WARNING") );