Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
plugindayzcreatureaidebug.c File Reference

Go to the source code of this file.

Data Structures

class  DayZCreatureAnimScriptDebug

Typedefs

typedef Param4< float, string, int, stringDayZCreatureAnimScriptDebugAnimEventData
typedef Param1< stringDayZCreatureAnimScriptDebugAnimPredictionData
typedef Param1< stringDayZCreatureAnimScriptDebugAnimTagData

Functions

void ~PluginDayZCreatureAIDebug ()
void ActivateCommand (int commandIdx, int userInt, float userFloat)
void CheckShowMode ()
void EnableAI (bool enable)
void Event_OnClick ()
string GetStrValue (int index)
string GetStrValueType (int index)
DayZCreatureAnimScriptDebugVarType GetVariableType (int index)
void GUIAction_ActivateCommand (int commandIdx, int userInt, float userFloat)
void GUIAction_EnableAI (bool enable)
void GUIAction_InitDebugObject (Object obj)
 GUI actions.
void GUIAction_ReleaseDebugObject ()
void GUIAction_SetValue (int index, string strVal)
void GUIAction_UpdateSimulationPrecision (int simLOD)
void Hide ()
void InitDebugObject (Object obj)
override void OnDestroy ()
void OnGUI (bool show)
void OnGUI_AIControlEdit ()
void OnGUI_AnimEvents ()
void OnGUI_BulkSet ()
void OnGUI_CommandsEdit ()
void OnGUI_Variables ()
void OnGUI_VariablesEdit ()
void OnGUITimer ()
override void OnInit ()
 Callback for user defined initialization. Called for all suites during TestHarness.Begin().
void OnRpc (PlayerBase player, int rpc_type, ParamsReadContext ctx)
override void OnUpdate (float delta_time)
void PluginDayZCreatureAIDebug ()
void ReleaseDebugObject ()
void SendSyncMessages ()
 sync
void SetDebugShowMode (int mode)
void SetValueBool (int index, bool value)
void SetValueFloat (int index, float value)
void SetValueInt (int index, int value)
void Show ()
void SyncActivateCommand (int commandIdx, int userInt, float userFloat)
void SyncEnableAI (bool enable)
void SyncInitDebugObject (Object obj)
void SyncReceiveActivateCommand (ParamsReadContext ctx)
void SyncReceiveDisableAI (ParamsReadContext ctx)
void SyncReceiveEnableAI (ParamsReadContext ctx)
void SyncReceiveInitDebugObject (ParamsReadContext ctx)
void SyncReceiveMessage (ParamsReadContext ctx)
void SyncReceiveReleaseDebugObject (ParamsReadContext ctx)
void SyncReceiveValueBool (ParamsReadContext ctx)
void SyncReceiveValueFloat (ParamsReadContext ctx)
void SyncReceiveValueInt (ParamsReadContext ctx)
void SyncReleaseDebugObject ()
void SyncSetValueBool (int index, bool value)
void SyncSetValueFloat (int index, float value)
void SyncSetValueInt (int index, int value)

Variables

class DayZCreatureAnimScriptDebug ACTIVATE_COMMAND
class DayZCreatureAnimScriptDebug DISABLE_AI
class DayZCreatureAnimScriptDebug ENABLE_AI
class DayZCreatureAnimScriptDebug INIT_DEBUG_OBJECT
bool m_bAIEnabled = true
bool m_bBulkSet = false
bool m_bEditMode = false
bool m_bIsCaptureMode = false
bool m_bShowAnimEvents = false
DayZCreatureAI m_DebugEntity = NULL
ref DayZCreatureAnimScriptDebug m_EntityAnimDbg = NULL
class DayZCreatureAnimScriptDebug m_iDebugMenu = -1
bool m_IsActive = false
string m_sDebugEntityName = ""
ref array< boolm_SetCommandCheckStates = new array<bool>
ref array< boolm_SetVariableCheckStates = new array<bool>
bool m_ShowDbgUI = false
ref array< ref Paramm_SyncMessages = new array<ref Param>
ref Timer m_TickTimer
class DayZCreatureAnimScriptDebug RELEASE_DEBUG_OBJECT
class DayZCreatureAnimScriptDebug SET_VALUE_BOOL
class DayZCreatureAnimScriptDebug SET_VALUE_FLOAT
class DayZCreatureAnimScriptDebug SET_VALUE_INT

Typedef Documentation

◆ DayZCreatureAnimScriptDebugAnimEventData

◆ DayZCreatureAnimScriptDebugAnimPredictionData

◆ DayZCreatureAnimScriptDebugAnimTagData

Definition at line 3 of file plugindayzcreatureaidebug.c.

Function Documentation

◆ ~PluginDayZCreatureAIDebug()

Definition at line 105 of file plugindayzcreatureaidebug.c.

◆ ActivateCommand()

void ActivateCommand ( int commandIdx,
int userInt,
float userFloat )

◆ CheckShowMode()

void CheckShowMode ( )

Definition at line 117 of file plugindayzcreatureaidebug.c.

References DiagMenu::GetEngineValue(), m_iDebugMenu, and SetDebugShowMode().

Referenced by OnUpdate().

◆ EnableAI()

void EnableAI ( bool enable)

◆ Event_OnClick()

void Event_OnClick ( )

◆ GetStrValue()

string GetStrValue ( int index)

Definition at line 135 of file plugindayzcreatureaidebug.c.

References m_EntityAnimDbg, and float::ToString().

Referenced by OnGUI_Variables().

◆ GetStrValueType()

string GetStrValueType ( int index)

Definition at line 165 of file plugindayzcreatureaidebug.c.

References m_EntityAnimDbg.

Referenced by OnGUI_VariablesEdit().

◆ GetVariableType()

DayZCreatureAnimScriptDebugVarType GetVariableType ( int index)

Definition at line 269 of file plugindayzcreatureaidebug.c.

References m_EntityAnimDbg.

Referenced by GUIAction_SetValue().

◆ GUIAction_ActivateCommand()

void GUIAction_ActivateCommand ( int commandIdx,
int userInt,
float userFloat )

Definition at line 719 of file plugindayzcreatureaidebug.c.

References ActivateCommand(), g_Game, and SyncActivateCommand().

Referenced by OnGUI_CommandsEdit().

◆ GUIAction_EnableAI()

void GUIAction_EnableAI ( bool enable)

Definition at line 732 of file plugindayzcreatureaidebug.c.

References EnableAI(), g_Game, and SyncEnableAI().

Referenced by OnGUI_AIControlEdit().

◆ GUIAction_InitDebugObject()

void GUIAction_InitDebugObject ( Object obj)

GUI actions.

Definition at line 634 of file plugindayzcreatureaidebug.c.

References g_Game, InitDebugObject(), and SyncInitDebugObject().

Referenced by Event_OnClick().

◆ GUIAction_ReleaseDebugObject()

void GUIAction_ReleaseDebugObject ( )

Definition at line 656 of file plugindayzcreatureaidebug.c.

References g_Game, ReleaseDebugObject(), and SyncReleaseDebugObject().

Referenced by OnGUI().

◆ GUIAction_SetValue()

◆ GUIAction_UpdateSimulationPrecision()

void GUIAction_UpdateSimulationPrecision ( int simLOD)

Definition at line 651 of file plugindayzcreatureaidebug.c.

References m_DebugEntity.

Referenced by OnGUI().

◆ Hide()

void Hide ( )

Definition at line 588 of file plugindayzcreatureaidebug.c.

References m_IsActive, m_TickTimer, and OnGUI().

◆ InitDebugObject()

◆ OnDestroy()

override void OnDestroy ( )

Definition at line 113 of file plugindayzcreatureaidebug.c.

◆ OnGUI()

◆ OnGUI_AIControlEdit()

void OnGUI_AIControlEdit ( )

Definition at line 369 of file plugindayzcreatureaidebug.c.

References DbgUI::Button(), GUIAction_EnableAI(), and m_bAIEnabled.

Referenced by OnGUI().

◆ OnGUI_AnimEvents()

◆ OnGUI_BulkSet()

void OnGUI_BulkSet ( )

Definition at line 389 of file plugindayzcreatureaidebug.c.

References DbgUI::Button(), and m_bBulkSet.

Referenced by OnGUI().

◆ OnGUI_CommandsEdit()

◆ OnGUI_Variables()

void OnGUI_Variables ( )

◆ OnGUI_VariablesEdit()

◆ OnGUITimer()

void OnGUITimer ( )

Definition at line 555 of file plugindayzcreatureaidebug.c.

References g_Game, m_IsActive, OnGUI(), and SendSyncMessages().

◆ OnRpc()

void OnRpc ( PlayerBase player,
int rpc_type,
ParamsReadContext ctx )

Definition at line 762 of file plugindayzcreatureaidebug.c.

References SyncReceiveMessage().

◆ OnUpdate()

override void OnUpdate ( float delta_time)

Definition at line 127 of file plugindayzcreatureaidebug.c.

References CheckShowMode(), and g_Game.

◆ PluginDayZCreatureAIDebug()

void PluginDayZCreatureAIDebug ( )

◆ ReleaseDebugObject()

◆ SendSyncMessages()

void SendSyncMessages ( )

sync

Definition at line 748 of file plugindayzcreatureaidebug.c.

References g_Game, and m_SyncMessages.

Referenced by OnGUITimer().

◆ SetDebugShowMode()

void SetDebugShowMode ( int mode)

Definition at line 565 of file plugindayzcreatureaidebug.c.

References PluginBase::Hide(), and PluginBase::Show().

Referenced by CheckShowMode().

◆ SetValueBool()

void SetValueBool ( int index,
bool value )

Definition at line 238 of file plugindayzcreatureaidebug.c.

References m_EntityAnimDbg.

Referenced by GUIAction_SetValue(), and SyncReceiveValueBool().

◆ SetValueFloat()

void SetValueFloat ( int index,
float value )

Definition at line 233 of file plugindayzcreatureaidebug.c.

References m_EntityAnimDbg.

Referenced by GUIAction_SetValue(), and SyncReceiveValueFloat().

◆ SetValueInt()

void SetValueInt ( int index,
int value )

Definition at line 228 of file plugindayzcreatureaidebug.c.

References m_EntityAnimDbg.

Referenced by GUIAction_SetValue(), and SyncReceiveValueInt().

◆ Show()

void Show ( )

Definition at line 580 of file plugindayzcreatureaidebug.c.

References m_IsActive, and m_TickTimer.

◆ SyncActivateCommand()

void SyncActivateCommand ( int commandIdx,
int userInt,
float userFloat )

Definition at line 901 of file plugindayzcreatureaidebug.c.

References m_SyncMessages.

Referenced by GUIAction_ActivateCommand().

◆ SyncEnableAI()

void SyncEnableAI ( bool enable)

Definition at line 920 of file plugindayzcreatureaidebug.c.

References m_SyncMessages.

Referenced by GUIAction_EnableAI().

◆ SyncInitDebugObject()

void SyncInitDebugObject ( Object obj)

Definition at line 814 of file plugindayzcreatureaidebug.c.

References m_SyncMessages.

Referenced by GUIAction_InitDebugObject().

◆ SyncReceiveActivateCommand()

void SyncReceiveActivateCommand ( ParamsReadContext ctx)

Definition at line 910 of file plugindayzcreatureaidebug.c.

References ActivateCommand(), and Serializer::Read().

Referenced by SyncReceiveMessage().

◆ SyncReceiveDisableAI()

void SyncReceiveDisableAI ( ParamsReadContext ctx)

Definition at line 940 of file plugindayzcreatureaidebug.c.

References EnableAI().

Referenced by SyncReceiveMessage().

◆ SyncReceiveEnableAI()

void SyncReceiveEnableAI ( ParamsReadContext ctx)

Definition at line 935 of file plugindayzcreatureaidebug.c.

References EnableAI().

Referenced by SyncReceiveMessage().

◆ SyncReceiveInitDebugObject()

void SyncReceiveInitDebugObject ( ParamsReadContext ctx)

Definition at line 823 of file plugindayzcreatureaidebug.c.

References InitDebugObject(), and Serializer::Read().

Referenced by SyncReceiveMessage().

◆ SyncReceiveMessage()

◆ SyncReceiveReleaseDebugObject()

void SyncReceiveReleaseDebugObject ( ParamsReadContext ctx)

Definition at line 839 of file plugindayzcreatureaidebug.c.

References ReleaseDebugObject().

Referenced by SyncReceiveMessage().

◆ SyncReceiveValueBool()

void SyncReceiveValueBool ( ParamsReadContext ctx)

Definition at line 891 of file plugindayzcreatureaidebug.c.

References Serializer::Read(), and SetValueBool().

Referenced by SyncReceiveMessage().

◆ SyncReceiveValueFloat()

void SyncReceiveValueFloat ( ParamsReadContext ctx)

Definition at line 872 of file plugindayzcreatureaidebug.c.

References Serializer::Read(), and SetValueFloat().

Referenced by SyncReceiveMessage().

◆ SyncReceiveValueInt()

void SyncReceiveValueInt ( ParamsReadContext ctx)

Definition at line 853 of file plugindayzcreatureaidebug.c.

References Serializer::Read(), and SetValueInt().

Referenced by SyncReceiveMessage().

◆ SyncReleaseDebugObject()

void SyncReleaseDebugObject ( )

Definition at line 832 of file plugindayzcreatureaidebug.c.

References m_SyncMessages.

Referenced by GUIAction_ReleaseDebugObject().

◆ SyncSetValueBool()

void SyncSetValueBool ( int index,
bool value )

Definition at line 882 of file plugindayzcreatureaidebug.c.

References m_SyncMessages.

Referenced by GUIAction_SetValue().

◆ SyncSetValueFloat()

void SyncSetValueFloat ( int index,
float value )

Definition at line 863 of file plugindayzcreatureaidebug.c.

References m_SyncMessages.

Referenced by GUIAction_SetValue().

◆ SyncSetValueInt()

void SyncSetValueInt ( int index,
int value )

Definition at line 844 of file plugindayzcreatureaidebug.c.

References m_SyncMessages.

Referenced by GUIAction_SetValue().

Variable Documentation

◆ ACTIVATE_COMMAND

class DayZCreatureAnimScriptDebug ACTIVATE_COMMAND

◆ DISABLE_AI

class DayZCreatureAnimScriptDebug DISABLE_AI

◆ ENABLE_AI

class DayZCreatureAnimScriptDebug ENABLE_AI

◆ INIT_DEBUG_OBJECT

class DayZCreatureAnimScriptDebug INIT_DEBUG_OBJECT

◆ m_bAIEnabled

bool m_bAIEnabled = true

Definition at line 92 of file plugindayzcreatureaidebug.c.

Referenced by OnGUI_AIControlEdit().

◆ m_bBulkSet

bool m_bBulkSet = false

◆ m_bEditMode

bool m_bEditMode = false

Definition at line 91 of file plugindayzcreatureaidebug.c.

Referenced by OnGUI().

◆ m_bIsCaptureMode

bool m_bIsCaptureMode = false

Definition at line 90 of file plugindayzcreatureaidebug.c.

Referenced by Event_OnClick(), and OnGUI().

◆ m_bShowAnimEvents

bool m_bShowAnimEvents = false

Definition at line 93 of file plugindayzcreatureaidebug.c.

Referenced by OnGUI().

◆ m_DebugEntity

◆ m_EntityAnimDbg

◆ m_iDebugMenu

class DayZCreatureAnimScriptDebug m_iDebugMenu = -1

Referenced by CheckShowMode().

◆ m_IsActive

bool m_IsActive = false

Definition at line 87 of file plugindayzcreatureaidebug.c.

◆ m_sDebugEntityName

string m_sDebugEntityName = ""

Definition at line 83 of file plugindayzcreatureaidebug.c.

Referenced by InitDebugObject(), OnGUI(), and ReleaseDebugObject().

◆ m_SetCommandCheckStates

ref array<bool> m_SetCommandCheckStates = new array<bool>

◆ m_SetVariableCheckStates

ref array<bool> m_SetVariableCheckStates = new array<bool>

◆ m_ShowDbgUI

bool m_ShowDbgUI = false

Definition at line 88 of file plugindayzcreatureaidebug.c.

◆ m_SyncMessages

◆ m_TickTimer

ref Timer m_TickTimer

Definition at line 86 of file plugindayzcreatureaidebug.c.

Referenced by Hide(), and Show().

◆ RELEASE_DEBUG_OBJECT

class DayZCreatureAnimScriptDebug RELEASE_DEBUG_OBJECT

◆ SET_VALUE_BOOL

class DayZCreatureAnimScriptDebug SET_VALUE_BOOL

◆ SET_VALUE_FLOAT

class DayZCreatureAnimScriptDebug SET_VALUE_FLOAT

◆ SET_VALUE_INT

class DayZCreatureAnimScriptDebug SET_VALUE_INT