DayZ 1.24
|
Classes | |
class | DiagMenu |
Variables | |
INFO | |
WARNING | |
ERROR | |
FIRSTCONTACT | |
NEARESTCONTACT ONLYSTATIC ONLYDYNAMIC ONLYWATER | ALLOBJECTS |
class DiagMenu | Shape () |
don't call destructor directly. Use Destroy() instead | |
Bind a callback to the given id.
To be used when scripted diags should not be present.
Get value as bool from the given script id.
Referenced by ApplyEyeAcco(), CalculateEyeAccoTarget(), MissionBase::DisplayHairDebug(), ManBase::EEHitBy(), ActionTargets::FilterObstructedObjectsEx(), GatherSurfaces(), GetMeleeTargetEx(), Hologram::GetProjectionEntityPosition(), Hologram::IsCollidingBBox(), BaseBuildingBase::OnDebugSpawnBuildExcludes(), PlayerSoundEventBase::OnPlay(), Managed::OnScheduledTick(), EntityPlacementCallback::OnSetup(), SymptomManager::OnTick(), CGame::OnUpdate(), MissionBase::OnUpdate(), SpookyEventBase::Perform(), ProcessLighting(), SelectEvent(), DeveloperTeleport::TeleportAtCursor(), DeveloperTeleport::TeleportAtCursorEx(), Tick(), ScriptedWidgetEventHandler::Update(), UIScriptedMenu::Update(), and ActionMenu::UpdateWidgets().
Get range value at the given engine id.
Referenced by DayZPlayer::CommandHandlerDebug().
Get value at the given engine id.
Referenced by CheckShowMode(), DayZPlayer::CommandHandler(), and DayZPlayer::HeadingModel().
Get range value at the given script id.
Get value as int from the given script id.
Referenced by Weapon::LiftWeaponCheck(), and MissionBase::ShowHairDebugValues().
To be used before registering scripted diags.
Checks if DiagMenu is initialized.
Referenced by ScriptedWidgetEventHandler::RandomizePageIndex().
Check if the item at given id has been registered.
Check if a menu with supplied name already exists.
|
staticprivate |
Register a new bool item.
id | int The unique ID of the item in the range [0,512] |
shortcut | string The keyboard shortcut of the item |
name | string The name of the item |
parent | string The index of the parent of the item |
values | string The values of the item, separated by commas |
reverse | bool Whether to reverse the bool (OPTIONAL) |
callback | func Callback to call when the value is changed (OPTIONAL) (Also read BindCallback) |
|
staticprivate |
Register a new item.
id | int The unique ID of the item in the range [0,512] |
shortcut | string The keyboard shortcut of the item |
name | string The name of the item |
parent | int The index of the parent of the item |
values | string The values of the item separated by commas, internally this will be an int starting at 0 for the first item |
callback | func Callback to call when the value is changed (OPTIONAL) (Also read BindCallback) |
Register a new menu.
id | int The unique ID of the menu in the range [0,512] |
name | string The name of the menu |
parent | int The index of the parent of the menu |
|
staticprivate |
Register a new range item.
id | int The unique ID of the item in the range [0,512] |
shortcut | string The keyboard shortcut of the item |
name | string The name of the item |
parent | int The index of the parent of the item |
values | string Range specification in format "min,max,startValue,step" |
callback | func Callback to call when the value is changed (OPTIONAL) (Also read BindCallback) |
Set range value at the given engine id.
Set value at the given engine id.
Set range value at the given script id.
Set value at the given script id.
Referenced by ManBase::SetBloodyHandsBase(), and SetModifiers().
Unbind the callback from the given id.
don't call destructor directly. Use Destroy() instead
Instance of created debug visualizer
Referenced by Transport::DebugFreeAreaAtDoor(), EntityAI::DebugFreeAreaAtDoor(), ComponentEnergyManager::DrawArrow(), Debug::DrawArrow(), Debug::DrawBoxEx(), Debug::DrawCube(), Debug::DrawCylinder(), Debug::DrawFrustum(), ScriptConsoleItemsTab::DrawItems(), ScriptConsoleItemsTab::DrawItemsClear(), Debug::DrawLine(), Debug::DrawLines(), Debug::DrawSphere(), Weapon::LiftWeaponCheck(), EntityPlacementCallback::OnDebug(), OnUpdate(), and Debug::RemoveShape().