ORK Framework  2.25.2
API Documentation
ORKFramework.QuestChoice Class Reference
Inheritance diagram for ORKFramework.QuestChoice:
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 CreateChoices ()
 
void ChoiceSelected (int index, GUIBox origin)
 
void SelectionChanged (int index, GUIBox origin)
 
void Canceled (GUIBox origin)
 
- 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

int questID = 0
 
int guiBoxID = 0
 
bool lockFocus = false
 
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 allowCancel = false
 
bool useChoice = false
 
AddCancelButton cancelButton = new AddCancelButton()
 
int cancelNext = -1
 
EventInteger defaultSelection = new EventInteger()
 
LanguageInfoButton acceptButton
 
ContentLayout contentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
 
bool useAudio = false
 
int clipID = 0
 
bool stopAudio = true
 
bool onSpeaker = false
 
string childName = ""
 
PlayAudioSettings audio
 
bool ownLayout = false
 
QuestLayout layout
 

Member Function Documentation

◆ SetData()

override void ORKFramework.QuestChoice.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.