DayZ 1.24
Loading...
Searching...
No Matches
DayZCreatureAnimScriptDebug Class Reference
Collaboration diagram for DayZCreatureAnimScriptDebug:
[legend]

Private Member Functions

proto native void SetCreature (DayZCreature creature)
 
proto native int GetVariableCount ()
 
proto native owned string GetVariableName (int index)
 
proto native int GetVariableType (int index)
 
proto native int GetVariableInt (int index)
 
proto native float GetVariableFloat (int index)
 
proto native bool GetVariableBool (int index)
 
proto native int SetVariableInt (int index, int value)
 
proto native float SetVariableFloat (int index, float value)
 
proto native bool SetVariableBool (int index, bool value)
 
proto native int GetCommandCount ()
 
proto native owned string GetCommandName (int index)
 
proto native int GetCommandID (int index)
 
proto native void ActivateCommand (int index, int userInt, float userFloat)
 
void OnAnimationEventsStart ()
 
void OnAnimationEvent (string evType, int userInt, string userString)
 
void OnAnimationPrediction (string predName)
 
void OnAnimationTag (string tagName)
 

Private Attributes

const int m_iMaxAnimEventsCount = 50
 
ref array< stringm_EventsFilter = new array<string>
 
ref array< ref DayZCreatureAnimScriptDebugAnimEventDatam_AnimEvents = new array<ref DayZCreatureAnimScriptDebugAnimEventData>
 
ref array< ref DayZCreatureAnimScriptDebugAnimPredictionDatam_AnimPredictions = new array<ref DayZCreatureAnimScriptDebugAnimPredictionData>
 
ref array< ref DayZCreatureAnimScriptDebugAnimTagDatam_AnimTags = new array<ref DayZCreatureAnimScriptDebugAnimTagData>
 

Detailed Description

Definition at line 5 of file PluginDayZCreatureAIDebug.c.

Member Function Documentation

◆ ActivateCommand()

proto native void DayZCreatureAnimScriptDebug::ActivateCommand ( int index,
int userInt,
float userFloat )
private

◆ GetCommandCount()

proto native int DayZCreatureAnimScriptDebug::GetCommandCount ( )
private

◆ GetCommandID()

proto native int DayZCreatureAnimScriptDebug::GetCommandID ( int index)
private

◆ GetCommandName()

proto native owned string DayZCreatureAnimScriptDebug::GetCommandName ( int index)
private

◆ GetVariableBool()

proto native bool DayZCreatureAnimScriptDebug::GetVariableBool ( int index)
private

◆ GetVariableCount()

proto native int DayZCreatureAnimScriptDebug::GetVariableCount ( )
private

◆ GetVariableFloat()

proto native float DayZCreatureAnimScriptDebug::GetVariableFloat ( int index)
private

◆ GetVariableInt()

proto native int DayZCreatureAnimScriptDebug::GetVariableInt ( int index)
private

◆ GetVariableName()

proto native owned string DayZCreatureAnimScriptDebug::GetVariableName ( int index)
private

◆ GetVariableType()

proto native int DayZCreatureAnimScriptDebug::GetVariableType ( int index)
private

◆ OnAnimationEvent()

void DayZCreatureAnimScriptDebug::OnAnimationEvent ( string evType,
int userInt,
string userString )
inlineprivate

Definition at line 39 of file PluginDayZCreatureAIDebug.c.

40 {
41 if (m_EventsFilter.Find(evType) != -1)
42 return;
43
45
47 m_AnimEvents.Remove(m_AnimEvents.Count() - 1);
48 }
Param4< float, string, int, string > DayZCreatureAnimScriptDebugAnimEventData
ref array< ref DayZCreatureAnimScriptDebugAnimEventData > m_AnimEvents
proto native float GetWorldTime()

References GetWorldTime(), m_AnimEvents, m_EventsFilter, and m_iMaxAnimEventsCount.

◆ OnAnimationEventsStart()

void DayZCreatureAnimScriptDebug::OnAnimationEventsStart ( )
inlineprivate

Definition at line 33 of file PluginDayZCreatureAIDebug.c.

34 {
35 m_AnimPredictions.Clear();
36 m_AnimTags.Clear();
37 }
ref array< ref DayZCreatureAnimScriptDebugAnimTagData > m_AnimTags
ref array< ref DayZCreatureAnimScriptDebugAnimPredictionData > m_AnimPredictions

References m_AnimPredictions, and m_AnimTags.

◆ OnAnimationPrediction()

void DayZCreatureAnimScriptDebug::OnAnimationPrediction ( string predName)
inlineprivate

Definition at line 50 of file PluginDayZCreatureAIDebug.c.

51 {
53 }
Param1< string > DayZCreatureAnimScriptDebugAnimPredictionData

References m_AnimPredictions.

◆ OnAnimationTag()

void DayZCreatureAnimScriptDebug::OnAnimationTag ( string tagName)
inlineprivate

Definition at line 55 of file PluginDayZCreatureAIDebug.c.

56 {
58 }
Param1< string > DayZCreatureAnimScriptDebugAnimTagData

References m_AnimTags.

◆ SetCreature()

proto native void DayZCreatureAnimScriptDebug::SetCreature ( DayZCreature creature)
private

◆ SetVariableBool()

proto native bool DayZCreatureAnimScriptDebug::SetVariableBool ( int index,
bool value )
private

◆ SetVariableFloat()

proto native float DayZCreatureAnimScriptDebug::SetVariableFloat ( int index,
float value )
private

◆ SetVariableInt()

proto native int DayZCreatureAnimScriptDebug::SetVariableInt ( int index,
int value )
private

Member Data Documentation

◆ m_AnimEvents

Definition at line 29 of file PluginDayZCreatureAIDebug.c.

Referenced by OnAnimationEvent().

◆ m_AnimPredictions

◆ m_AnimTags

Definition at line 31 of file PluginDayZCreatureAIDebug.c.

Referenced by OnAnimationEventsStart(), and OnAnimationTag().

◆ m_EventsFilter

ref array<string> DayZCreatureAnimScriptDebug::m_EventsFilter = new array<string>
private

Definition at line 27 of file PluginDayZCreatureAIDebug.c.

Referenced by OnAnimationEvent().

◆ m_iMaxAnimEventsCount

const int DayZCreatureAnimScriptDebug::m_iMaxAnimEventsCount = 50
private

Definition at line 26 of file PluginDayZCreatureAIDebug.c.

Referenced by OnAnimationEvent().


The documentation for this class was generated from the following file: