DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ RegisterRange()

static proto void DiagMenu::RegisterRange ( int id,
string shortcut,
string name,
int parent,
string valuenames,
func callback = null )
staticprivate

Register a new range item.

Аргументы
idint The unique ID of the item in the range [0,512]
shortcutstring The keyboard shortcut of the item
namestring The name of the item
parentint The index of the parent of the item
valuesstring Range specification in format "min,max,startValue,step"
callbackfunc Callback to call when the value is changed (OPTIONAL) (Also read BindCallback)

Перекрестные ссылки name.