◆ EnumToString()
Return string name of enum value.
DialogPriority prio = DialogPriority.WARNING;
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
static proto string EnumToString(TypeName e, int enumValue)
Return string name of enum value.
◆ GetVariableCount()
proto external int TypeName.GetVariableCount |
( |
| ) |
|
◆ GetVariableName()
proto external owned string TypeName.GetVariableName |
( |
int |
vIdx | ) |
|
◆ GetVariableType()
proto external TypeName TypeName.GetVariableType |
( |
int |
vIdx | ) |
|
◆ GetVariableValue()
proto external bool TypeName.GetVariableValue |
( |
Class |
var, |
|
|
int |
vIdx, |
|
|
out void |
val |
|
) |
| |
◆ IsInherited()
proto external bool TypeName.IsInherited |
( |
TypeName |
baseType | ) |
|
Returns true when type is the same as 'baseType', or inherited one.
- Parameters
-
- Returns
bool
true when type is the same as 'baseType', or inherited one.
◆ Spawn()
proto external ref Managed TypeName.Spawn |
( |
| ) |
|
Dynamic variant to new
keyword.
It creates new instance of class.
- Returns
instance
of class
◆ StringToEnum()
Return enum value from string name.
static proto int StringToEnum(TypeName e, string enumName)
Return enum value from string name.
◆ ToString()
proto external string TypeName.ToString |
( |
| ) |
|
Returns type name of variable as string.
◆ Empty
The documentation for this interface was generated from the following file:
- Core/generated/Types/typename.c