Logic module. Logic is described in detail in Nodes article.
getCondition (id:String, lang:String):{stringID:String, name:String, condition:String}
Returns localized node condition type by its string ID.
Parameters:
id
Node condition string ID.
lang
User language.
Returns:
Node condition type localization structure. Returns null, if no such node condition type is found.
inline getNode (id:Int):Null<LogicNodeCore>
Returns node by its ID.
Parameters:
id
Node ID.
Returns:
Node instance. Returns null, if no such node is found.
getParamName (id:String, lang:String):String
Returns localized node parameter type name by its string ID.
Parameters:
id
Node parameter string ID.
lang
User language.
Returns:
Node parameter name. Returns null, if no such node parameter type is found.
getParameter (id:String, lang:String):{stringID:String, name:String}
Returns localized node parameter type by its string ID.
Parameters:
id
Node parameter string ID.
lang
User language.
Returns:
Node parameter type localization structure. Returns null, if no such node parameter type is found.
inline getTree (id:Int):Null<LogicTreeCore>
Returns node tree by its ID.
Parameters:
id
Tree ID.
Returns:
Tree instance. Returns null, if no such tree is found.