DIFF

class OptionsAccessSource

OptionsAccess Managed

All members, including inherited

Methods 12

proto native int GetAccessType()

AccessType of current option

Returns: AccessType

proto native int GetControlType()

Current option controller type. OA_CT_NUMERIC = 0, OA_CT_SWITCH = 1, OA_CT_LIST = 2

Returns: ControlType

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

Returns: 1 if the value is changed, 0 othewise

proto native int NeedRestart()

If the option value will take effect only after the game is restarted

Returns: 1 if the value is changed, 0 othewise

proto native int SetChangeImmediately()

If the value is changed internally immediately upon change.

Returns: 1 if the value is changed immediately, 0 othewise

private proto void SetScriptEvents(Managed events)

Set the events

events
Managed The events to set
private proto Managed GetScriptEvents()

Get the events

Returns: Managed If there is any events set, this will return them

Referenced by GetEvents()

Get the events

Returns: ParticleManagerEvents If there is any events set, this will return them so that additional functionality can be bound to them

void OnRevert()

\name Events Events called from C++