Property | Type | Description | |
---|---|---|---|
m_build | int | ||
m_hasOpenedPanel | bool | ||
m_isIngame | bool | ||
m_major | int | ||
m_minor | int | ||
m_randomNamesLocation | string | ||
m_revision | int | ||
m_spritesLocation | string | ||
m_versionStringFull | string | ||
m_workshopId | uint |
Method | Description | |
---|---|---|
CreateOptions ( UIHelperBase helper ) : void |
Creates options on a panel using the helper
|
|
GetCheckBoxValue ( string uniqueName, bool &returnValue ) : bool |
Gets a bool from an option that was set using a checkbox
|
|
GetDropdownValue ( string uniqueName, int &returnValue ) : bool |
Gets a string from an option that was set using a dropdown
|
|
GetDropdownValue ( string uniqueName, string &returnValue ) : bool |
Gets a string from an option that was set using a dropdown
|
|
GetSliderValue ( string uniqueName, float &returnValue ) : bool |
Gets a float from an option that was set using a slider
|
|
LoadOptions ( ) : void |
Load options from disk and replace default values with stored ones.
|
|
Populate ( ) : void |
Populates everything that needs any additional data loading
|
|
SaveOptions ( ) : void |
Save options to disk
|
|
UpdateEverything ( ) : void |
Updates everything ingame. Should be used when one of the options has updated and ingame elements need immediately refreshing.
|
Method | Description | |
---|---|---|
CheckBox_eventCheckChanged ( UIComponent component, bool value ) : void | ||
Dropdown_eventSelectedIndexChanged ( UIComponent component, int value ) : void | ||
OptionChanged ( bool value ) : void | ||
OptionChanged ( float value ) : void | ||
OptionChanged ( int sel ) : void | ||
SaveButtonClicked ( ) : void | ||
Slider_eventValueChanged ( UIComponent component, float value ) : void |
public CreateOptions ( UIHelperBase helper ) : void | ||
helper | UIHelperBase | The UIHelper to put the options on |
return | void |
public static GetCheckBoxValue ( string uniqueName, bool &returnValue ) : bool | ||
uniqueName | string | The unique name of the checkbox option |
returnValue | bool | The value to replace |
return | bool |
public static GetDropdownValue ( string uniqueName, int &returnValue ) : bool | ||
uniqueName | string | The unique name of the dropdown option |
returnValue | int | The value to replace |
return | bool |
public static GetDropdownValue ( string uniqueName, string &returnValue ) : bool | ||
uniqueName | string | The unique name of the dropdown option |
returnValue | string | The value to replace |
return | bool |
public static GetSliderValue ( string uniqueName, float &returnValue ) : bool | ||
uniqueName | string | The unique name of the slider option |
returnValue | float | The value to replace |
return | bool |
public static string m_randomNamesLocation | ||
return | string |
public static string m_versionStringFull | ||
return | string |