Skip to content

static class Daedalus (client-side)

Available since version: 0.2

This class represents Daedalus scripting interface.

Properties

No properties.


Methods

variable

Available since version: 0.2

Note

If found symbol is a constant, the error will be thrown

This method will get the daedalus variable.

int|float|string variable(string varName)

Parameters:

  • string varName: the name of the variable defined in daedalus.

Returns int|float|string:

the value of primitive type supported by daedalus scripting language.


variable

Available since version: 0.2

Note

If found symbol is a constant, the error will be thrown

This method will get the daedalus variable from array.

int|float|string variable(string varName, int arrayIndex)

Parameters:

  • string varName: the name of the variable array defined in daedalus.
  • int arrayIndex: the daedalus array index.

Returns int|float|string:

the value of primitive type supported by daedalus scripting language.


variable

Available since version: 0.2

Note

If found symbol is a constant, the error will be thrown

This method will set the daedalus variable.

void variable(string varName, int|float|string value)

Parameters:

  • string varName: the name of the variable defined in daedalus.
  • int|float|string value: the new value for the variable.

variable

Available since version: 0.2

Note

If found symbol is a constant, the error will be thrown

This method will set the daedalus variable inside array.

void variable(string varName, int arrayIndex, int|float|string value)

Parameters:

  • string varName: the name of the variable array defined in daedalus.
  • int arrayIndex: the daedalus array index.
  • int|float|string value: the new value for the variable inside array.

constant

Available since version: 0.2

Note

If found symbol is a variable, the error will be thrown

This method will get the daedalus constant.

int|float|string constant(string constName)

Parameters:

  • string constName: the name of the constant defined in daedalus.

Returns int|float|string:

the value of primitive type supported by daedalus scripting language.


constant

Available since version: 0.2

Note

If found symbol is a variable, the error will be thrown

This method will get the daedalus constant from array.

int|float|string constant(string constName, int arrayIndex)

Parameters:

  • string constName: the name of the constant array defined in daedalus.
  • int arrayIndex: the daedalus array index.

Returns int|float|string:

the value of primitive type supported by daedalus scripting language.


constant

Available since version: 0.2

Note

If found symbol is a variable, the error will be thrown

This method will set the daedalus constant.

void constant(string constName, int|float|string value)

Parameters:

  • string constName: the name of the constant defined in daedalus.
  • int|float|string value: the new value for the variable.

constant

Available since version: 0.2

Note

If found symbol is a variable, the error will be thrown

This method will set the daedalus variable inside array.

void constant(string constName, int arrayIndex, int|float|string value)

Parameters:

  • string constName: the name of the constant array defined in daedalus.
  • int arrayIndex: the daedalus array index.
  • int|float|string value: the new value for the constant inside array.

type

Available since version: 0.2

This method will get the type of the daedalus symbol.

int type(string symbolName)

Parameters:

  • string symbolName: the name of the daedalus symbol.

Returns int:

the type of the daedalus symbol. For more information see Daedalus Types


flags

Available since version: 0.2

This method will get the flags of the daedalus symbol.

int flags(string symbolName)

Parameters:

  • string symbolName: the name of the daedalus symbol.

Returns int:

the flags used by the daedalus symbol. For more information see Daedalus Flags


parent

Available since version: 0.2

This method will get the parent of the daedalus symbol.

string parent(string symbolName)

Parameters:

  • string symbolName: the name of the daedalus symbol.

Returns string:

the parent daedalus symbol name, can be null if symbol doesn't have a parent.


prototype

Available since version: 0.2

This method will get the all of the daedalus prototype variables.

table prototype(string prototypename)

Parameters:

  • string prototypename: the name of the daedalus prototype.

Returns table:

the object containing all of the daedalus prototype variables.


instance

Available since version: 0.2

This method will get the all of the daedalus instance variables.

table instance(string instanceName)

Parameters:

  • string instanceName: the name of the daedalus instance.

Returns table:

the object containing all of the daedalus instance variables.