PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
PluginDayZCreatureAIDebug.c File Reference

Data Structures

class  DayZCreatureAnimScriptDebug
 

Typedefs

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

Functions

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

Variables

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

Typedef Documentation

◆ DayZCreatureAnimScriptDebugAnimEventData

◆ DayZCreatureAnimScriptDebugAnimPredictionData

◆ DayZCreatureAnimScriptDebugAnimTagData

Function Documentation

◆ ActivateCommand()

◆ CheckShowMode()

void CheckShowMode ( )

◆ EnableAI()

void EnableAI ( bool  enable)

◆ Event_OnClick()

◆ GetStrValue()

◆ GetStrValueType()

string GetStrValueType ( int  index)

◆ GetVariableType()

◆ GUIAction_ActivateCommand()

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

◆ GUIAction_EnableAI()

void GUIAction_EnableAI ( bool  enable)

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

Referenced by OnGUI_AIControlEdit().

◆ GUIAction_InitDebugObject()

void GUIAction_InitDebugObject ( Object  obj)

GUI actions

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

Referenced by Event_OnClick().

◆ GUIAction_ReleaseDebugObject()

void GUIAction_ReleaseDebugObject ( )

◆ GUIAction_SetValue()

◆ GUIAction_UpdateSimulationPrecision()

void GUIAction_UpdateSimulationPrecision ( int  simLOD)

References m_DebugEntity.

Referenced by OnGUI().

◆ Hide()

void Hide ( )

References m_IsActive, m_TickTimer, and OnGUI().

◆ InitDebugObject()

◆ OnDestroy()

override void OnDestroy ( )

◆ OnGUI()

◆ OnGUI_AIControlEdit()

void OnGUI_AIControlEdit ( )

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

Referenced by OnGUI().

◆ OnGUI_AnimEvents()

◆ OnGUI_BulkSet()

void OnGUI_BulkSet ( )

References DbgUI::Button(), and m_bBulkSet.

Referenced by OnGUI().

◆ OnGUI_CommandsEdit()

◆ OnGUI_Variables()

◆ OnGUI_VariablesEdit()

◆ OnGUITimer()

void OnGUITimer ( )

◆ OnRpc()

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

References SyncReceiveMessage().

◆ OnUpdate()

override void OnUpdate ( float  delta_time)

References CheckShowMode(), and GetGame().

◆ PluginDayZCreatureAIDebug()

void PluginDayZCreatureAIDebug ( )

◆ ReleaseDebugObject()

◆ SendSyncMessages()

void SendSyncMessages ( )

sync

References GetGame(), CGame::GetPlayer(), and m_SyncMessages.

Referenced by OnGUITimer().

◆ SetDebugShowMode()

void SetDebugShowMode ( int  mode)

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

Referenced by CheckShowMode().

◆ SetValueBool()

void SetValueBool ( int  index,
bool  value 
)

◆ SetValueFloat()

void SetValueFloat ( int  index,
float  value 
)

◆ SetValueInt()

void SetValueInt ( int  index,
int  value 
)

◆ Show()

void Show ( )

References m_IsActive, and m_TickTimer.

◆ SyncActivateCommand()

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

References m_SyncMessages.

Referenced by GUIAction_ActivateCommand().

◆ SyncEnableAI()

void SyncEnableAI ( bool  enable)

References m_SyncMessages.

Referenced by GUIAction_EnableAI().

◆ SyncInitDebugObject()

void SyncInitDebugObject ( Object  obj)

References m_SyncMessages.

Referenced by GUIAction_InitDebugObject().

◆ SyncReceiveActivateCommand()

void SyncReceiveActivateCommand ( ParamsReadContext  ctx)

◆ SyncReceiveDisableAI()

void SyncReceiveDisableAI ( ParamsReadContext  ctx)

References EnableAI().

Referenced by SyncReceiveMessage().

◆ SyncReceiveEnableAI()

void SyncReceiveEnableAI ( ParamsReadContext  ctx)

References EnableAI().

Referenced by SyncReceiveMessage().

◆ SyncReceiveInitDebugObject()

void SyncReceiveInitDebugObject ( ParamsReadContext  ctx)

◆ SyncReceiveMessage()

◆ SyncReceiveReleaseDebugObject()

void SyncReceiveReleaseDebugObject ( ParamsReadContext  ctx)

References ReleaseDebugObject().

Referenced by SyncReceiveMessage().

◆ SyncReceiveValueBool()

void SyncReceiveValueBool ( ParamsReadContext  ctx)

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

Referenced by SyncReceiveMessage().

◆ SyncReceiveValueFloat()

void SyncReceiveValueFloat ( ParamsReadContext  ctx)

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

Referenced by SyncReceiveMessage().

◆ SyncReceiveValueInt()

void SyncReceiveValueInt ( ParamsReadContext  ctx)

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

Referenced by SyncReceiveMessage().

◆ SyncReleaseDebugObject()

void SyncReleaseDebugObject ( )

References m_SyncMessages.

Referenced by GUIAction_ReleaseDebugObject().

◆ SyncSetValueBool()

void SyncSetValueBool ( int  index,
bool  value 
)

References m_SyncMessages.

Referenced by GUIAction_SetValue().

◆ SyncSetValueFloat()

void SyncSetValueFloat ( int  index,
float  value 
)

References m_SyncMessages.

Referenced by GUIAction_SetValue().

◆ SyncSetValueInt()

void SyncSetValueInt ( int  index,
int  value 
)

References m_SyncMessages.

Referenced by GUIAction_SetValue().

◆ ~PluginDayZCreatureAIDebug()

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

Referenced by OnGUI_AIControlEdit().

◆ m_bBulkSet

bool m_bBulkSet = false

◆ m_bEditMode

bool m_bEditMode = false

Referenced by OnGUI().

◆ m_bIsCaptureMode

bool m_bIsCaptureMode = false

Referenced by Event_OnClick(), and OnGUI().

◆ m_bShowAnimEvents

bool m_bShowAnimEvents = false

Referenced by OnGUI().

◆ m_DebugEntity

◆ m_EntityAnimDbg

◆ m_iDebugMenu

class DayZCreatureAnimScriptDebug m_iDebugMenu = -1

Referenced by CheckShowMode().

◆ m_IsActive

bool m_IsActive = false

◆ m_sDebugEntityName

string m_sDebugEntityName = ""

◆ 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

◆ m_SyncMessages

◆ m_TickTimer

◆ 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