Quest chain structure. Quests are described in detail in Quests article.
inline getBool (key:String):Bool
Returns chain parameter as Bool
.
Parameters:
key
Parameter name.
Returns:
Parameter value. False, if the parameter does not exist.
Returns chain parameter as Int
.
Parameters:
key
Parameter name.
Returns:
Parameter value. 0, if the parameter does not exist.
inline hasTag (tag:String):Bool
Returns true if the chain has this tag.
Parameters:
tag
Chain tag.
Returns:
True, if the chain has this tag. False otherwise.
isActive (networkType:String):Bool
Returns true if this quest is active for this SNS type.
Parameters:
networkType
SNS type.
Returns:
True, if this quest is active. False otherwise.
isActivePlatform (platform:String):Bool
Returns true if this quest is active for this platform.
Parameters:
platform
Client platform.
Returns:
True, if this quest is active. False otherwise.