ORK Framework  2.26.1
API Documentation
ORKFramework.DialogueChoice Class Reference
Inheritance diagram for ORKFramework.DialogueChoice:
ORKFramework.BaseData ORKFramework.IChoice ORKFramework.IBaseData ORKFramework.IChoiceSimple

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
bool Tick (GUIBox origin)
bool UnfocusedTick (GUIBox origin)
bool NotControlableTick (GUIBox origin)
bool ShowOKButton (GUIBox origin)
bool ShowCancelButton (GUIBox origin)
bool IsOKButtonActive (GUIBox origin)
bool IsCancelButtonActive (GUIBox origin)
void Show (BaseEvent baseEvent, int next)
void Show ()
void FocusGained (GUIBox origin)
void FocusLost (GUIBox origin)
void OutOfBoxClick (GUIBox origin)
void Closed (GUIBox origin)
void EventStopped ()
void CreateChoices ()
void ChoiceSelected (int index, GUIBox origin)
void SelectionChanged (int index, GUIBox origin)
void Canceled (GUIBox origin)
string GetInfoText ()
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

DialogueType type = DialogueType.Message
bool waitClose = true
bool waitCloseNotControlable = false
int guiBoxID = 0
bool lockFocus = false
EventString notificationKey
NotificationQueueType notificationQueue = NotificationQueueType.Queue
bool useSpeaker = false
int actorID = 0
bool atActorPosition = false
string posChildName = ""
Vector2 posOff = Vector2.zero
bool speakerName = false
bool speakerPortrait = false
int portraitType = 0
bool ownPortraitPosition = false
PortraitPosition portraitPosition
bool useTitle = false
string [] title
bool outputToConsole = false
int consoleTypeID = 0
string [] message = ArrayHelper.CreateArray(ORK.Languages.Count, "")
bool useAudio = false
int clipID = 0
bool stopAudio = true
bool onSpeaker = false
string childName = ""
PlayAudioSettings audio
bool allowCancel = false
int cancelNext = -1
EventInteger defaultSelection
TitleHeaderTexts headerTexts
ChoiceOption [] choiceOption
bool blockAccept = false
bool afterAudio = false
EventFloat time
bool wait = false

Member Function Documentation

◆ SetData()

override void ORKFramework.DialogueChoice.SetData ( DataObject  data)

Sets the variables of the class using a ORKFramework.DataObject.

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.