ORK Framework  2.24.0
API Documentation
ORKFramework.MainMenuChoice Class Reference
Inheritance diagram for ORKFramework.MainMenuChoice:
ORKFramework.BaseData ORKFramework.IChoice ORKFramework.IValueInputChoice 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 ()
 
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 ValueInputChanged (int index, GUIBox origin)
 
void Canceled (GUIBox origin)
 
void OverrideAutoSaveSlot (bool accepted)
 
- 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 guiBoxID = 0
 
bool useTitle = false
 
string[] title
 
ContentLayout contentLayout = new ContentLayout(ContentLayoutType.Both, ContentLayoutInfoType.None)
 
string[] message = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
bool usePortrait = false
 
ImagePortrait portrait
 
bool showContinue = false
 
bool hideContinue = false
 
LanguageInfoButton continueButton = new LanguageInfoButton("Continue")
 
bool useContinuePortrait = false
 
ImagePortrait continuePortrait
 
LanguageInfoButton newButton = new LanguageInfoButton("New Game")
 
bool useNewGamePortrait = false
 
ImagePortrait newGamePortrait
 
bool autoSaveSelection = false
 
int autoSaveGuiBoxID = 0
 
bool useAutoSaveTitle = false
 
string[] autoSaveTitle
 
string[] autoSaveMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
bool showOverrideQuestion = false
 
QuestionChoice autoSaveOverrideQuestion
 
bool autoSlotBG = false
 
bool autoSlotQuestionBG = false
 
bool ownBGAutoSlot = false
 
BackgroundImage[] backgroundAutoSlot
 
bool difficultySelection = false
 
int difficultyGuiBoxID = 0
 
bool useDifTitle = false
 
string[] difTitle
 
string[] difficultyMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
bool showLoad = true
 
bool hideLoad = false
 
bool selectLoad = true
 
LanguageInfoButton loadButton = new LanguageInfoButton("Load Game")
 
bool useLoadPortrait = false
 
ImagePortrait loadPortrait
 
bool showLanguage = false
 
LanguageInfoButton languageButton =new LanguageInfoButton("Language")
 
bool useLanguagePortrait = false
 
ImagePortrait languagePortrait
 
int languageGuiBoxID = 0
 
bool useLangTitle = false
 
string[] langTitle
 
string[] languageMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
bool showOptions = false
 
LanguageInfoButton optionsButton = new LanguageInfoButton("Options")
 
bool useOptionsPortrait = false
 
ImagePortrait optionsPortrait
 
int optionsGuiBoxID = 0
 
bool useOptionsTitle = false
 
string[] optionsTitle
 
string[] optionsMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
GameOption[] gameOptions
 
bool showAbout = false
 
LanguageInfoButton aboutButton = new LanguageInfoButton("About")
 
bool useAboutPortrait = false
 
ImagePortrait aboutPortrait
 
int aboutGuiBoxID = 0
 
bool useAboutTitle = false
 
string[] aboutTitle
 
string[] aboutMessage = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
bool showURL = false
 
LanguageInfoButton urlButton = new LanguageInfoButton("Open URL")
 
string[] url = ArrayHelper.CreateArray<string>(ORK.Languages.Count, "")
 
bool useURLPortrait = false
 
ImagePortrait urlPortrait
 
CustomChoiceCall[] customChoice = new CustomChoiceCall[0]
 
bool showExit = true
 
LanguageInfoButton exitButton = new LanguageInfoButton("Exit")
 
bool useExitPortrait = false
 
ImagePortrait exitPortrait
 

Properties

string Message [get]
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.