PC Stable Documentation
|
|
Private Member Functions | |
proto native int | GetAccessType () |
AccessType of current option. | |
proto native int | GetControlType () |
Current option controller type. OA_CT_NUMERIC = 0, OA_CT_SWITCH = 1, OA_CT_LIST = 2. | |
proto native void | Apply () |
Applies the option value if the value has changed and forgets the old value. This function has no effect on internal options, see OptionsAccess::Test. | |
proto native void | Test () |
Sets the option value internaly if the value has changed and wasnt set immediately upon change. | |
proto native void | Revert () |
Reverts the option value to old value if the value has changed and wasnt applied. This function has effect on internal options. | |
proto native int | IsChanged () |
If the option value is changed and not applied or reverted. Value can already be set internally if the value was changed immediately. | |
proto native int | NeedRestart () |
If the option value will take effect only after the game is restarted. | |
proto native int | SetChangeImmediately () |
If the value is changed internally immediately upon change. | |
proto native int | GetIndex () |
proto native int | GetDefaultIndex () |
proto native void | SetIndex (int index) |
proto native int | GetItemsCount () |
proto void | GetItemText (int index, out string value) |
void | GetAllItemsText (array< string > output) |
proto native void | Switch () |
proto void | GetItemText (out string value) |
proto native int | GetIndex () |
proto native int | GetDefaultIndex () |
Script Events API | |
Setting and getting of ScriptEvents | |
private proto void | SetScriptEvents (Managed events) |
Set the events. | |
private proto Managed | GetScriptEvents () |
Get the events. | |
OptionsAccessEvents | GetEvents () |
Get the events. | |
Events | |
Events called from C++ | |
void | OnRevert () |
|
private |
Applies the option value if the value has changed and forgets the old value. This function has no effect on internal options, see OptionsAccess::Test.
|
private |
AccessType of current option.
References GetItemsCount(), and GetItemText().
|
private |
Current option controller type. OA_CT_NUMERIC = 0, OA_CT_SWITCH = 1, OA_CT_LIST = 2.
|
private |
|
private |
|
inlineprivate |
Get the events.
ParticleManagerEvents
If there is any events set, this will return them so that additional functionality can be bound to them References GetScriptEvents().
Referenced by OnRevert().
|
private |
|
private |
|
private |
Referenced by GetAllItemsText().
Referenced by GetAllItemsText().
|
private |
|
private |
Get the events.
Managed
If there is any events set, this will return them Referenced by GetEvents().
|
private |
If the option value is changed and not applied or reverted. Value can already be set internally if the value was changed immediately.
|
private |
If the option value will take effect only after the game is restarted.
|
inlineprivate |
References OptionsAccessEvents::Event_OnRevert, GetEvents(), and ScriptInvoker::Invoke().
|
private |
Reverts the option value to old value if the value has changed and wasnt applied. This function has effect on internal options.
|
private |
If the value is changed internally immediately upon change.
|
private |
|
private |
Set the events.
events | Managed The events to set |
|
private |
|
private |
Sets the option value internaly if the value has changed and wasnt set immediately upon change.