Interface for quest dialogue UIs. More...
Public Member Functions | |
void | ShowContents (QuestParticipantTextInfo speaker, List< QuestContent > contents) |
Shows UI content. | |
void | ShowOfferConditionsUnmet (QuestParticipantTextInfo speaker, List< QuestContent > contents, List< Quest > quests) |
Shows content explaining that all quests' offer conditions are unmet. | |
void | ShowQuestList (QuestParticipantTextInfo speaker, List< QuestContent > activeQuestsContents, List< Quest > activeQuests, List< QuestContent > offerableQuestsContents, List< Quest > offerableQuests, QuestParameterDelegate selectHandler) |
Shows a list of quests. | |
void | ShowOfferQuest (QuestParticipantTextInfo speaker, Quest quest, QuestParameterDelegate acceptHandler, QuestParameterDelegate declineHandler) |
Shows a quest offer. | |
void | ShowActiveQuest (QuestParticipantTextInfo speaker, Quest quest, QuestParameterDelegate continueHandler, QuestParameterDelegate backHandler) |
Shows an active quest. | |
void | ShowCompletedQuest (QuestParticipantTextInfo speaker, List< Quest > quests) |
Shows completed quests. | |
void | Hide () |
Hides the dialogue UI. | |
Properties | |
bool | isVisible [get] |
True if the dialogue UI is visible, false otherwise. | |
Interface for quest dialogue UIs.
void PixelCrushers.QuestMachine.IQuestDialogueUI.Hide | ( | ) |
Hides the dialogue UI.
void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowActiveQuest | ( | QuestParticipantTextInfo | speaker, |
Quest | quest, | ||
QuestParameterDelegate | continueHandler, | ||
QuestParameterDelegate | backHandler | ||
) |
Shows an active quest.
speaker | Speaker. |
quest | Active quest. |
continueHandler | Method to invoke if the player clicks the continue button. |
backHandler | Method to invoke if the player clicks the back button. |
Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.
void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowCompletedQuest | ( | QuestParticipantTextInfo | speaker, |
List< Quest > | quests | ||
) |
Shows completed quests.
speaker | Speaker |
quests | Completed quests. |
Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.
void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowContents | ( | QuestParticipantTextInfo | speaker, |
List< QuestContent > | contents | ||
) |
Shows UI content.
speaker | Speaker. |
contents | Content being spoken by speaker. |
Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.
void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowOfferConditionsUnmet | ( | QuestParticipantTextInfo | speaker, |
List< QuestContent > | contents, | ||
List< Quest > | quests | ||
) |
Shows content explaining that all quests' offer conditions are unmet.
speaker | Speaker. |
contents | Content explaining that all quests' offer conditions are unmet. |
quests | List of quests. |
Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.
void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowOfferQuest | ( | QuestParticipantTextInfo | speaker, |
Quest | quest, | ||
QuestParameterDelegate | acceptHandler, | ||
QuestParameterDelegate | declineHandler | ||
) |
Shows a quest offer.
speaker | Speaker. |
quest | Quest to offer. |
acceptHandler | Method to invoke if the player accepts the quest. |
declineHandler | Method to invoke if the player declines the quest. |
Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.
void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowQuestList | ( | QuestParticipantTextInfo | speaker, |
List< QuestContent > | activeQuestsContents, | ||
List< Quest > | activeQuests, | ||
List< QuestContent > | offerableQuestsContents, | ||
List< Quest > | offerableQuests, | ||
QuestParameterDelegate | selectHandler | ||
) |
Shows a list of quests.
speaker | Speaker. |
activeQuestsContents | Content introducing the list of active quests. |
activeQuests | Active quests. |
offerableQuestsContents | Content introducing the list of offerable quests. |
offerableQuests | Offerable quests. |
selectHandler | Method to invoke when the player selects a quest. |
Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.
|
get |
True if the dialogue UI is visible, false otherwise.