Quests
Lists all functions and model classes used within the SDK to support client-side quest functionality in Unity.
Functions and Methods
InitQuests
Initializes the local state of quests functionality. Should be called after player ID is available.
var paramsForQuestsPersonalization = new Dictionary<string, object>
{
// Optional params go here
};
Kibotu.InitQuests(paramsForQuestsPersonalization);TriggerQuestState
Handles the triggered event, which could involve progressing an active quest or starting a new one.
var paramsForQuestsPersonalization = new Dictionary<string, object>
{
// Optional params go here
};
Kibotu.TriggerQuestState("GameWin", paramsForQuestsPersonalization);TriggetQuestUI
Manages the visual communication of the quest's state to the player. If it returns true, then there is new information to be shown to the player.
GetActiveQuest
Returns a KibotuQuest object that contains comprehensive data to be communicated to the player.
onQuestRewardAction
To be executed when the player acknowledges that they won the quest.
KibotuQuest.GetPrize
Returns a string that is the prize identifier when the player wins it.
KibotuQuestGraphics.GetGraphic
Returns KibotuQuestGraphic based on the quest's state.
Models
KibotuQuest
KibotuQuestProgress
KibotuQuestProgressMilestone
KibotuQuestGraphics
KibotuQuestGraphic
KibotuQuestTriggers
KibotuQuestTriggerEvents
KibotuQuestEvent
Last updated