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

Структуры данных

class  DiagMenu
 

Функции

static proto bool DiagMenu::IsInitialized ()
 Checks if DiagMenu is initialized.
 
static proto void DiagMenu::InitScriptDiags ()
 To be used before registering scripted diags.
 
static proto void DiagMenu::ClearScriptDiags ()
 To be used when scripted diags should not be present.
 
static proto void DiagMenu::RegisterMenu (int id, string name, int parent)
 Register a new menu.
 
static proto void DiagMenu::RegisterItem (int id, string shortcut, string name, int parent, string values, func callback=null)
 Register a new item.
 
static proto void DiagMenu::RegisterBool (int id, string shortcut, string name, int parent, bool reverse=false, func callback=null)
 Register a new bool item.
 
static proto void DiagMenu::RegisterRange (int id, string shortcut, string name, int parent, string valuenames, func callback=null)
 Register a new range item.
 
static proto void DiagMenu::Unregister (int id)
 Unregister the item at given id.
 
static proto bool DiagMenu::IsRegistered (int id)
 Check if the item at given id has been registered.
 
static proto bool DiagMenu::BindCallback (int id, func callback)
 Bind a callback to the given id.
 
static proto void DiagMenu::UnbindCallback (int id)
 Unbind the callback from the given id.
 
static proto bool DiagMenu::GetBool (int id, bool reverse=false)
 Get value as bool from the given script id.
 
static proto int DiagMenu::GetValue (int id)
 Get value as int from the given script id.
 
static proto void DiagMenu::SetValue (int id, int value)
 Set value at the given script id.
 
static proto float DiagMenu::GetRangeValue (int id)
 Get range value at the given script id.
 
static proto void DiagMenu::SetRangeValue (int id, float value)
 Set range value at the given script id.
 
static proto int DiagMenu::GetEngineValue (int id)
 Get value at the given engine id.
 
static proto void DiagMenu::SetEngineValue (int id, int value)
 Set value at the given engine id.
 
static proto float DiagMenu::GetEngineRangeValue (int id)
 Get range value at the given engine id.
 
static proto void DiagMenu::SetEngineRangeValue (int id, float value)
 Set range value at the given engine id.
 
static proto bool DiagMenu::MenuExists (string name)
 Check if a menu with supplied name already exists.
 

Переменные

 INFO
 
 WARNING
 
 ERROR
 
 FIRSTCONTACT
 
NEARESTCONTACT ONLYSTATIC ONLYDYNAMIC ONLYWATER ALLOBJECTS
 
class DiagMenu Shape ()
 don't call destructor directly. Use Destroy() instead
 

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