![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Data Structures | |
| class | DiagMenu |
Functions | |
| static proto bool | BindCallback (int id, func callback) |
| Bind a callback to the given id. | |
| static proto void | ClearScriptDiags () |
| To be used when scripted diags should not be present. | |
| static proto bool | GetBool (int id, bool reverse=false) |
| Get value as bool from the given script id. | |
| static proto float | GetEngineRangeValue (int id) |
| Get range value at the given engine id. | |
| static proto int | GetEngineValue (int id) |
| Get value at the given engine id. | |
| static proto float | GetRangeValue (int id) |
| Get range value at the given script id. | |
| static proto int | GetValue (int id) |
| Get value as int from the given script id. | |
| static proto void | InitScriptDiags () |
| To be used before registering scripted diags. | |
| static proto bool | IsInitialized () |
| Checks if DiagMenu is initialized. | |
| static proto bool | IsRegistered (int id) |
| Check if the item at given id has been registered. | |
| static proto bool | MenuExists (string name) |
| Check if a menu with supplied name already exists. | |
| static proto void | RegisterBool (int id, string shortcut, string name, int parent, bool reverse=false, func callback=null) |
| Register a new bool item. | |
| static proto void | RegisterItem (int id, string shortcut, string name, int parent, string values, func callback=null) |
| Register a new item. | |
| static proto void | RegisterMenu (int id, string name, int parent) |
| Register a new menu. | |
| static proto void | RegisterRange (int id, string shortcut, string name, int parent, string valuenames, func callback=null) |
| Register a new range item. | |
| static proto void | SetEngineRangeValue (int id, float value) |
| Set range value at the given engine id. | |
| static proto void | SetEngineValue (int id, int value) |
| Set value at the given engine id. | |
| static proto void | SetRangeValue (int id, float value) |
| Set range value at the given script id. | |
| static proto void | SetValue (int id, int value) |
| Set value at the given script id. | |
| static proto void | UnbindCallback (int id) |
| Unbind the callback from the given id. | |
| static proto void | Unregister (int id) |
| Unregister the item at given id. | |
Variables | |
| ALLOBJECTS | |
| ERROR | |
| FIRSTCONTACT | |
| INFO | |
| NEARESTCONTACT | |
| ONLYDYNAMIC | |
| ONLYSTATIC | |
| ONLYWATER | |
| class DiagMenu | Shape () |
| Instance of created debug visualizer. | |
| WARNING | |
Bind a callback to the given id.
|
staticprivate |
To be used when scripted diags should not be present.
Get value as bool from the given script id.
Referenced by ApplyEyeAcco(), CalculateBreadCrumbs(), CalculateLinePointFade(), MissionBase::DisplayHairDebug(), ManBase::EEHitBy(), ActionTargets::FilterObstructedObjectsEx(), GatherSurfaces(), EntityAI::GetFlipContext(), GetMeleeTargetEx(), Hologram::GetProjectionEntityPosition(), Hologram::IsCollidingBBox(), Hologram::IsCollidingGeometryProxy(), BaseBuildingBase::OnDebugSpawnBuildExcludes(), PlayerSoundEventBase::OnPlay(), Managed::OnScheduledTick(), EntityPlacementCallback::OnSetup(), SymptomManager::OnTick(), CGame::OnUpdate(), MissionBase::OnUpdate(), 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.
Referenced by SymptomManager::OnTick().
Get value as int from the given script id.
Referenced by DayZPlayer::HandleWeapons(), MissionBase::ShowHairDebugValues(), and Weapon::UseWeaponObstruction().
|
staticprivate |
To be used before registering scripted diags.
|
staticprivate |
Checks if DiagMenu is initialized.
Referenced by ScriptedWidgetEventHandler::RandomizePageIndex().
Check if a menu with supplied name already exists.
References name.
|
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) |
References name.
|
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) |
References name.
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 |
References name.
|
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) |
References name.
Set range 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().
|
staticprivate |
Unbind the callback from the given id.
|
staticprivate |
Unregister the item at given id.
| class DiagMenu Shape | ( | ) |
Instance of created debug visualizer.
don't call destructor directly. Use Destroy() instead
Referenced by PluginBase::CleanupDebugShapes(), Debug::CleanupDrawShapes(), Create(), CreateArrow(), CreateBridgeArrow(), CreateCylinder(), CreateFrustum(), CreateLines(), CreateSphere(), CreateTris(), Component::DebugBBoxDraw(), Entity::DebugBBoxDraw(), Component::DebugDirectionDraw(), Entity::DebugDirectionDraw(), EntityAI::DebugFreeAreaAtDoor(), Transport::DebugFreeAreaAtDoor(), Debug::DestroyAllShapes(), EntityAI::DetectFlippedUsingSurface(), ComponentEnergyManager::DrawArrow(), Debug::DrawArrow(), Debug::DrawBox(), CfgPlayerRestrictedAreaHandler::DrawBoxesDebug(), Debug::DrawBoxEx(), Debug::DrawCube(), Debug::DrawCylinder(), Debug::DrawFrustum(), ScriptConsoleItemsTab::DrawItems(), ScriptConsoleItemsTab::DrawItemsClear(), Debug::DrawLine(), Debug::DrawLines(), CfgPlayerRestrictedAreaHandler::DrawPolygonLinesDebug(), Debug::DrawSphere(), IEntity::GetTightlyPackedCorners(), EntityPlacementCallback::OnDebug(), OnUpdate(), and Debug::RemoveShape().