DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
Класс OptionsAccess
+ Граф наследования:OptionsAccess:

Закрытые члены

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

proto void SetScriptEvents (Managed events)
 Set the events.
 
proto Managed GetScriptEvents ()
 Get the events.
 
OptionsAccessEvents GetEvents ()
 Get the events.
 
Events

Events called from C++

void OnRevert ()
 

Подробное описание

См. определение в файле gameplay.c строка 1320