Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
typename Class Reference

Private Member Functions

proto owned string GetModule ()
 Get the name of the module the typename belongs to.
proto native int GetVariableCount ()
proto native owned string GetVariableName (int vIdx)
proto native GetVariableType (int vIdx)
proto bool GetVariableValue (Class var, int vIdx, out void val)
proto native bool IsInherited (typename baseType)
 Returns true when type is the same as 'baseType', or inherited one.
proto volatile Class Spawn ()
 Dynamic variant to 'new' keyword.
proto native owned string ToString ()
 Returns type name of variable as string.

Static Private Member Functions

static string EnumToString (typename e, int enumValue)
 Return string name of enum value.
static int StringToEnum (typename e, string enumName)
 Return enum value from string name.

Detailed Description

Definition at line 521 of file enconvert.c.

Member Function Documentation

◆ EnumToString()

string EnumToString ( typename e ,
int enumValue )
inlinestaticprivate

Return string name of enum value.

DialogPriority prio = DialogPriority.WARNING;
Print( typename.EnumToString(DialogPriority, prio) );
static string EnumToString(typename e, int enumValue)
Return string name of enum value.
Definition enconvert.c:563
proto void Print(void var)
Prints content of variable to console/log.

Definition at line 563 of file enconvert.c.

◆ GetModule()

proto owned string GetModule ( )
private

Get the name of the module the typename belongs to.

Returns
string Name of parent module (1_Core)

◆ GetVariableCount()

proto native int GetVariableCount ( )
private

◆ GetVariableName()

proto native owned string GetVariableName ( int vIdx)
private

◆ GetVariableType()

proto native GetVariableType ( int vIdx)
private

◆ GetVariableValue()

proto bool GetVariableValue ( Class var,
int vIdx,
out void val )
private

◆ IsInherited()

proto native bool IsInherited ( typename baseType )
private

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

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

◆ Spawn()

proto volatile Class Spawn ( )
private

Dynamic variant to 'new' keyword.

It creates new instance of class

Returns
volatile instance of class
???

◆ StringToEnum()

int StringToEnum ( typename e ,
string enumName )
inlinestaticprivate

Return enum value from string name.

Print( typename.StringToEnum(DialogPriority, "WARNING") );
static int StringToEnum(typename e, string enumName)
Return enum value from string name.
Definition enconvert.c:585

Definition at line 585 of file enconvert.c.

◆ ToString()

proto native owned string ToString ( )
private

Returns type name of variable as string.


The documentation for this class was generated from the following file: