v2025.6.2
All Bundles

FunctionType

Function type definition

Operations

Compare

Compares two objects

method : public : Compare(rhs:System.Compare) ~ Int

Parameters

NameTypeDescription
rhsComparecompare object

Return

TypeDescription
Int0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater

GetDesc

Get the function description

method : public : GetDesc() ~ String

Return

TypeDescription
Stringfunction description

GetName

Get the function name

method : public : GetName() ~ String

Return

TypeDescription
Stringfunction name

GetParams

Get function parameters

method : public : GetParams() ~ Map<String,ParameterType>

Return

TypeDescription
Map<String,ParameterType>function parameters

GetRequiredParams

Get the required function parameters

method : public : GetRequiredParams() ~ String[]

Return

TypeDescription
Stringrequired function parameters

HashID

Returns a hash ID for the given class

method : public : HashID() ~ Int

Return

TypeDescription
Inthash ID

New

Constructor

New(name:String, params:Map<String,ParameterType>, req_params:String[])

Parameters

NameTypeDescription
nameStringfunction name
paramsMap<String,ParameterType>parameters to add to JSON object
req_paramsStringrequired parameters

New

Constructor

New(name:String, params:Map<String,ParameterType>)

Parameters

NameTypeDescription
nameStringfunction name
paramsMap<String,ParameterType>parameters to add to JSON object

New

Constructor

New(name:String, params:Map<String,ParameterType>, desc:String)

Parameters

NameTypeDescription
nameStringfunction name
paramsMap<String,ParameterType>parameters to add to JSON object
descStringdescription

New

Constructor

New(name:String, params:Map<String,ParameterType>, req_params:String[], desc:String)

Parameters

NameTypeDescription
nameStringfunction name
paramsMap<String,ParameterType>parameters to add to JSON object
req_paramsStringrequired parameters
descStringdescription

ToJson

JSON element representation

method : public : ToJson() ~ JsonElement

Return

TypeDescription
JsonElementJSON element representation

ToString

JSON string representation

method : public : ToString() ~ String

Return

TypeDescription
StringJSON string representation