Quest module. Quests are described in detail in Quests article.
inline getChain (id:Int):Null<ChainCore>
Returns quest chain by its ID.
Parameters:
id
Chain ID.
Returns:
Chain instance. Returns null, if no such chain is found.
getCondition (id:String, lang:String):{stringID:String, name:String, condName:String}
Returns localized quest condition type by its string ID.
Parameters:
id
Quest condition string ID.
lang
User language.
Returns:
Quest condition type localization structure. Returns null, if no such quest condition type is found.
inline getDailyQuest (chainID:Int):Null<Int>
Returns current daily quest for this chain.
Parameters:
chainID
Quest chain ID.
Returns:
Quest instance. Returns null, if no such chain is found.
getParamName (id:String, lang:String):String
Returns localized quest parameter type name by its string ID.
Parameters:
id
Quest parameter string ID.
lang
User language.
Returns:
Quest parameter name. Returns null, if no such quest parameter type is found.
getParameter (id:String, lang:String):{stringID:String, name:String}
Returns localized quest parameter type by its string ID.
Parameters:
id
Quest parameter string ID.
lang
User language.
Returns:
Quest parameter type localization structure. Returns null, if no such quest parameter type is found.