Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.IQuestDialogueUI Interface Reference

Interface for quest dialogue UIs. More...

Inheritance diagram for PixelCrushers.QuestMachine.IQuestDialogueUI:

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.
 

Detailed Description

Interface for quest dialogue UIs.

Member Function Documentation

◆ Hide()

void PixelCrushers.QuestMachine.IQuestDialogueUI.Hide ( )

Hides the dialogue UI.

◆ ShowActiveQuest()

void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowActiveQuest ( QuestParticipantTextInfo  speaker,
Quest  quest,
QuestParameterDelegate  continueHandler,
QuestParameterDelegate  backHandler 
)

Shows an active quest.

Parameters
speakerSpeaker.
questActive quest.
continueHandlerMethod to invoke if the player clicks the continue button.
backHandlerMethod to invoke if the player clicks the back button.

Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.

◆ ShowCompletedQuest()

void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowCompletedQuest ( QuestParticipantTextInfo  speaker,
List< Quest quests 
)

Shows completed quests.

Parameters
speakerSpeaker
questsCompleted quests.

Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.

◆ ShowContents()

void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowContents ( QuestParticipantTextInfo  speaker,
List< QuestContent contents 
)

Shows UI content.

Parameters
speakerSpeaker.
contentsContent being spoken by speaker.

Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.

◆ ShowOfferConditionsUnmet()

void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowOfferConditionsUnmet ( QuestParticipantTextInfo  speaker,
List< QuestContent contents,
List< Quest quests 
)

Shows content explaining that all quests' offer conditions are unmet.

Parameters
speakerSpeaker.
contentsContent explaining that all quests' offer conditions are unmet.
questsList of quests.

Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.

◆ ShowOfferQuest()

void PixelCrushers.QuestMachine.IQuestDialogueUI.ShowOfferQuest ( QuestParticipantTextInfo  speaker,
Quest  quest,
QuestParameterDelegate  acceptHandler,
QuestParameterDelegate  declineHandler 
)

Shows a quest offer.

Parameters
speakerSpeaker.
questQuest to offer.
acceptHandlerMethod to invoke if the player accepts the quest.
declineHandlerMethod to invoke if the player declines the quest.

Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.

◆ ShowQuestList()

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.

Parameters
speakerSpeaker.
activeQuestsContentsContent introducing the list of active quests.
activeQuestsActive quests.
offerableQuestsContentsContent introducing the list of offerable quests.
offerableQuestsOfferable quests.
selectHandlerMethod to invoke when the player selects a quest.

Implemented in PixelCrushers.QuestMachine.UnityUIQuestDialogueUI.

Property Documentation

◆ isVisible

bool PixelCrushers.QuestMachine.IQuestDialogueUI.isVisible
get

True if the dialogue UI is visible, false otherwise.


The documentation for this interface was generated from the following file: