DayZ 1.24
Loading...
Searching...
No Matches
PluginDayzPlayerDebug.c File Reference

Go to the source code of this file.

Classes

class  PluginDayzPlayerDebugUserData
 
class  HumanCommandActionCallback
 

Functions

class PluginDayzPlayerDebugUserData OnClick (Widget w, int x, int y, int button)
 buttons clicks
 
void PluginDayzPlayerDebugUserData (string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)
 
int GetInt ()
 
bool IsFullBody ()
 
int GetStanceMask ()
 
int GetCategory ()
 
string GetName ()
 Gets the name which is set for the ParticleManager, default is "ParticleSourceManager".
 
string GetNameUnique ()
 
override bool OnChange (Widget w, int x, int y, bool finished)
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
void PluginDayzPlayerDebug ()
 
void CreateTypeNameMapping ()
 
void ~PluginDayzPlayerDebug ()
 
void RegisterDebugItem (ItemBase item, PlayerBase player)
 
bool IsActive ()
 
void ShowWidgets (bool show)
 
void Show ()
 
void Hide ()
 
void CaptureFocus ()
 
void ReleaseFocus ()
 
void ToggleDebugWindowEvent ()
 
void ToggleDebugWindowEventOld ()
 
void ToggleDebugWindowEventP ()
 
void ToggleDebugWindowSetMode (int pMode)
 
void CreateModuleWidgets ()
 
void DestroyModuleWidgets ()
 
void ShowCard (int pCard)
 
void Tick ()
 
void UpdatePlayerStatus (DayZPlayer pPlayer)
 
void DbgShowBoneName (DayZPlayer pPlayer)
 
void UpdateCommandModifiers (DayZPlayer pPlayer)
 
void DisplayActions (int pType)
 
void Actions_Start ()
 
void Actions_DoInternalCommand (int pCommandId)
 
void Actions_DoCancel ()
 
void Actions_UpdateGlobals (DayZPlayer pPlayer)
 
void PlayerSyncCreate ()
 
void PlayerSyncDelete ()
 
void UpdateItemAccessor (DayZPlayer pPlayer)
 
bool IsWeaponChange (out string pNewWeapon, out int pHideSlot, out int pShowSlot)
 
void CommandHandler ()
 
void RegisterAnimation (string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)
 
void RegisterAnimations ()
 

Variables

int m_iUserData
 
bool m_bIsFullBody
 
int m_iStanceMask
 
int m_Category
 
string m_Name
 
PluginDayzPlayerDebug m_pPluginPlayerDebug
 
class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING = 0
 
const int TYPE_MOD_ONETIME = 1
 
const int TYPE_FB_LOOPING = 2
 
const int TYPE_FB_ONETIME = 3
 
const int TYPE_MOD_GESTURE_LOOPING = 4
 
const int TYPE_MOD_GESTURE_ONETIME = 5
 
const int TYPE_FB_GESTURE_LOOPING = 6
 
const int TYPE_FB_GESTURE_ONETIME = 7
 
const int TYPE_FB_SUICIDE_LOOPING = TYPE_FB_GESTURE_LOOPING
 
const int TYPE_ALL = -1
 
ref Timer m_TickTimer
 
ref array< ref PluginDayzPlayerDebugUserDatam_AnimationList = new array<ref PluginDayzPlayerDebugUserData>()
 
ref map< string, ref PluginDayzPlayerDebugUserDatam_AnimationListMappings = new map<string, ref PluginDayzPlayerDebugUserData>()
 
ref map< int, stringm_TypeNameMappings = new map<int, string>()
 
bool m_IsActive = false
 
bool m_HasFocus = false
 
bool m_HasServerWalk = false
 
Widget m_MainWnd
 
Widget m_Card0
 
Widget m_Card1
 
Widget m_Card2
 
Widget m_Card3
 
Widget m_Card4
 
ButtonWidget m_Card0Button
 
ButtonWidget m_Card1Button
 
ButtonWidget m_Card2Button
 
ButtonWidget m_Card3Button
 
ButtonWidget m_Card4Button
 
EditBoxWidget m_PlayerStatusV
 
TextListboxWidget m_ActionsSelector
 
ButtonWidget m_ActionsStart
 
ButtonWidget m_ActionsEnd
 
ButtonWidget m_ActionsFinish
 
ButtonWidget m_ActionsCancel
 
ButtonWidget m_ActionsOTA
 
ButtonWidget m_ActionsOTL
 
TextWidget m_ActionStateV
 
TextWidget m_ActionEventV
 
TextWidget m_ActionsGlobalStatus
 
EditBoxWidget m_ActionsFilter
 
ButtonWidget m_PlayerSyncCreateShadow
 
ButtonWidget m_PlayerSyncDelete
 
ButtonWidget m_PlayerServerWalk
 
TextWidget m_ItemAccClass
 
TextWidget m_ItemAccSClass
 
TextWidget m_ItemAccInst
 
ButtonWidget m_ActionTypeAll
 
ButtonWidget m_ActionTypeLA
 
ButtonWidget m_ActionTypeOA
 
ButtonWidget m_ActionTypeFLA
 
ButtonWidget m_ActionTypeFOA
 
ButtonWidget m_ActionTypeLG
 
ButtonWidget m_ActionTypeOG
 
ButtonWidget m_ActionTypeFLG
 
ButtonWidget m_ActionTypeFOG
 
ButtonWidget m_ClearEventsButton
 
TextListboxWidget m_EventsHistory
 
ref PluginDayzPlayerDebugUIHandler m_pUIHandler
 
Entity m_pPlayerShadow
 
int m_CurrentType
 
bool m_CH_ActionStart = false
 
int m_CH_ActionCommand = -1000
 
bool m_CH_ActionCancel = false
 
ref PluginDayzPlayerDebug_Weapons m_Weapons
 
ref PluginDayzPlayerDebug_Ctrl m_Controls
 
ref PluginDayzPlayerDebug_OtherCmds m_OtherCmds
 
int m_CurrentMode = 0
 

Function Documentation

◆ Actions_DoCancel()

void Actions_DoCancel ( )
protected

Definition at line 770 of file PluginDayzPlayerDebug.c.

771 {
774 if (!player)
775 return;
776
777 HumanCommandActionCallback clbk = player.GetCommand_Action();
778 if (!clbk)
779 {
780 clbk = player.GetCommandModifier_Action();
781 if (!clbk)
782 return;
783 }
784 clbk.Cancel();
785 }
PlayerBase GetPlayer()
proto native CGame GetGame()

References GetGame(), and GetPlayer().

Referenced by CommandHandler().

◆ Actions_DoInternalCommand()

void Actions_DoInternalCommand ( int pCommandId)
protected

Definition at line 751 of file PluginDayzPlayerDebug.c.

752 {
755 if (!player)
756 return;
757
758 HumanCommandActionCallback clbk = player.GetCommand_Action();
759 if (!clbk)
760 {
761 clbk = player.GetCommandModifier_Action();
762 if (!clbk)
763 return;
764 }
765
766 clbk.InternalCommand(pCommandId);
767 }

References GetGame(), and GetPlayer().

Referenced by CommandHandler().

◆ Actions_Start()

void Actions_Start ( )
protected

start action

Definition at line 720 of file PluginDayzPlayerDebug.c.

721 {
722 int row = m_ActionsSelector.GetSelectedRow();
723 if (row == -1)
724 return;
725
728 if (!player)
729 return;
730
732 m_ActionsSelector.GetItemData(row, 0, userData);
733
735 PluginDayzPlayerActionCallback a;
736
737 if (userData.IsFullBody())
738 a = PluginDayzPlayerActionCallback.Cast(player.StartCommand_Action(userData.GetInt(), PluginDayzPlayerActionCallback, userData.GetStanceMask()));
739 else
740 a = PluginDayzPlayerActionCallback.Cast(player.AddCommandModifier_Action(userData.GetInt(), PluginDayzPlayerActionCallback));
741 m_ActionEventV.SetText("");
742 a.m_pStateWidget = m_ActionStateV;
743 a.m_pAnimEventWidget = m_ActionEventV;
744 a.m_EventsHistory = m_EventsHistory;
745
747 m_ActionStateV.SetText("Crash Test");
748 }
TextListboxWidget m_ActionsSelector
TextWidget m_ActionEventV
TextWidget m_ActionStateV
TextListboxWidget m_EventsHistory
proto void Print(void var)
Prints content of variable to console/log.

References GetGame(), GetPlayer(), m_ActionEventV, m_ActionsSelector, m_ActionStateV, m_EventsHistory, and Print().

Referenced by CommandHandler().

◆ Actions_UpdateGlobals()

void Actions_UpdateGlobals ( DayZPlayer pPlayer)
protected

Definition at line 789 of file PluginDayzPlayerDebug.c.

790 {
791 HumanCommandActionCallback clbk = pPlayer.GetCommandModifier_Action();
792 if (!clbk)
793 m_ActionsGlobalStatus.SetText("No Action");
794
795 m_ActionsGlobalStatus.SetText(clbk.ToString());
796 }
TextWidget m_ActionsGlobalStatus

References m_ActionsGlobalStatus.

Referenced by UpdateCommandModifiers().

◆ CaptureFocus()

void CaptureFocus ( )
protected

Definition at line 354 of file PluginDayzPlayerDebug.c.

355 {
356 if (!m_HasFocus)
357 {
358 GetGame().GetInput().ChangeGameFocus(1);
359 GetGame().GetUIManager().ShowUICursor(true);
360 m_HasFocus = true;
361 }
362 }
bool m_HasFocus

References GetGame(), and m_HasFocus.

◆ CommandHandler()

void CommandHandler ( )
protected

Definition at line 968 of file PluginDayzPlayerDebug.c.

969 {
971 {
973 m_CH_ActionStart = false;
974 }
975
976 if (m_CH_ActionCommand != -1000)
977 {
979 m_CH_ActionCommand = -1000;
980 }
981
983 {
985 m_CH_ActionCancel = false;
986 }
987
988 if (m_Weapons)
989 m_Weapons.CommandHandler();
990
991 if (m_Controls)
992 m_Controls.CommandHandler();
993
994 if (m_OtherCmds)
995 m_OtherCmds.CommandHandler();
996 }
bool m_CH_ActionCancel
ref PluginDayzPlayerDebug_Ctrl m_Controls
bool m_CH_ActionStart
ref PluginDayzPlayerDebug_OtherCmds m_OtherCmds
void Actions_Start()
ref PluginDayzPlayerDebug_Weapons m_Weapons
void Actions_DoInternalCommand(int pCommandId)
int m_CH_ActionCommand
void Actions_DoCancel()

References Actions_DoCancel(), Actions_DoInternalCommand(), Actions_Start(), m_CH_ActionCancel, m_CH_ActionCommand, m_CH_ActionStart, m_Controls, m_OtherCmds, and m_Weapons.

◆ CreateModuleWidgets()

void CreateModuleWidgets ( )
protected

Definition at line 434 of file PluginDayzPlayerDebug.c.

435 {
436 if (!m_pUIHandler)
437 {
439 m_pUIHandler.m_pPluginPlayerDebug = this;
440 }
441
442 if (!m_MainWnd)
443 {
444 m_MainWnd = GetGame().GetWorkspace().CreateWidgets("gui/layouts/debug/day_z_playerdebug.layout");
445 m_MainWnd.SetHandler(m_pUIHandler);
446 m_MainWnd.Show(false);
447 }
448
449 m_Card0 = m_MainWnd.FindAnyWidget("Card0");
450 m_Card1 = m_MainWnd.FindAnyWidget("Card1");
451 m_Card2 = m_MainWnd.FindAnyWidget("Card2");
452 m_Card3 = m_MainWnd.FindAnyWidget("Card3");
453 m_Card4 = m_MainWnd.FindAnyWidget("Card4");
454 m_Card0Button = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("Card0Button"));
455 m_Card1Button = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("Card1Button"));
456 m_Card2Button = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("Card2Button"));
457 m_Card3Button = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("Card3Button"));
458 m_Card4Button = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("Card4Button"));
459
460
461 m_PlayerStatusV = EditBoxWidget.Cast(m_MainWnd.FindAnyWidget("PlayerStatusV"));
462 m_ActionsSelector = TextListboxWidget.Cast(m_MainWnd.FindAnyWidget("ActionsSelector"));
463 m_ActionsStart = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsStart"));
464 m_ActionsEnd = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsEnd"));
465 m_ActionsFinish = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsFinish"));
466 m_ActionsCancel = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsCancel"));
467 m_ActionsOTA = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsOTA"));
468 m_ActionsOTL = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsOTL"));
469 m_ActionStateV = TextWidget.Cast(m_MainWnd.FindAnyWidget("ActionStateV"));
470 m_ActionEventV = TextWidget.Cast(m_MainWnd.FindAnyWidget("ActionEventV"));
471 m_ActionsGlobalStatus = TextWidget.Cast(m_MainWnd.FindAnyWidget("ActionGlobalStatus"));
472
473
474 m_ActionsFilter = EditBoxWidget.Cast(m_MainWnd.FindAnyWidget("FilterField"));
475
476 m_PlayerSyncCreateShadow = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("PlayerSyncCreate"));
477 m_PlayerSyncDelete = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("PlayerSyncDelete"));
478 m_PlayerServerWalk = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("PlayerServerWalk"));
479
480 m_ItemAccClass = TextWidget.Cast(m_MainWnd.FindAnyWidget("ItemAccessClass"));
481 m_ItemAccSClass = TextWidget.Cast(m_MainWnd.FindAnyWidget("ItemAccessSClass"));
482 m_ItemAccInst = TextWidget.Cast(m_MainWnd.FindAnyWidget("ItemAccessInst"));
483
484 m_ActionTypeAll = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupALL"));
485 m_ActionTypeLA = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupLA"));
486 m_ActionTypeOA = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupOA"));
487 m_ActionTypeFLA = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupFLA"));
488 m_ActionTypeFOA = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupFOA"));
489 m_ActionTypeLG = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupLG"));
490 m_ActionTypeOG = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupOG"));
491 m_ActionTypeFLG = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupFLG"));
492 m_ActionTypeFOG = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ActionsGroupFOG"));
493
494
495 m_EventsHistory = TextListboxWidget.Cast(m_MainWnd.FindAnyWidget("EventHistory"));
496 m_ClearEventsButton = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("ClearButton"));
497
498 DisplayActions(-1);
499
500 ShowCard(0);
501
502 // m_DebugAgentListWidget = m_DebugRootWidget.FindAnyWidget("w_Agents");
503 // m_DebugFloatsListWidget = m_DebugRootWidget.FindAnyWidget("w_Floats");
504 // m_DebugStringsListWidget = m_DebugRootWidget.FindAnyWidget("w_Strings");
505 // m_DebugFloatsProperListWidget = m_DebugRootWidget.FindAnyWidget("w_FloatsProper");
506 // m_ItemPreviewWidget = m_DebugRootWidget.FindAnyWidget("w_ItemPreview");
507 // m_ClassNameWidget = m_DebugRootWidget.FindAnyWidget("w_ClassName");
508 }
ButtonWidget m_ActionTypeFLA
ButtonWidget m_PlayerSyncDelete
void DisplayActions(int pType)
ButtonWidget m_ActionsEnd
ButtonWidget m_ActionTypeOA
ButtonWidget m_ClearEventsButton
ButtonWidget m_PlayerServerWalk
Widget m_Card1
ButtonWidget m_ActionTypeLA
ButtonWidget m_ActionsOTA
void ShowCard(int pCard)
ButtonWidget m_ActionTypeFOA
TextWidget m_ItemAccInst
Widget m_MainWnd
EditBoxWidget m_ActionsFilter
TextWidget m_ItemAccSClass
ref PluginDayzPlayerDebugUIHandler m_pUIHandler
TextWidget m_ItemAccClass
ButtonWidget m_Card2Button
ButtonWidget m_ActionsFinish
ButtonWidget m_ActionTypeFLG
ButtonWidget m_ActionTypeFOG
ButtonWidget m_ActionTypeLG
ButtonWidget m_ActionsStart
ButtonWidget m_Card1Button
ButtonWidget m_Card0Button
ButtonWidget m_ActionsOTL
Widget m_Card3
ButtonWidget m_ActionsCancel
Widget m_Card4
ButtonWidget m_ActionTypeAll
Widget m_Card2
ButtonWidget m_Card3Button
ButtonWidget m_Card4Button
ButtonWidget m_ActionTypeOG
EditBoxWidget m_PlayerStatusV
Widget m_Card0
ButtonWidget m_PlayerSyncCreateShadow

References DisplayActions(), GetGame(), m_ActionEventV, m_ActionsCancel, m_ActionsEnd, m_ActionsFilter, m_ActionsFinish, m_ActionsGlobalStatus, m_ActionsOTA, m_ActionsOTL, m_ActionsSelector, m_ActionsStart, m_ActionStateV, m_ActionTypeAll, m_ActionTypeFLA, m_ActionTypeFLG, m_ActionTypeFOA, m_ActionTypeFOG, m_ActionTypeLA, m_ActionTypeLG, m_ActionTypeOA, m_ActionTypeOG, m_Card0, m_Card0Button, m_Card1, m_Card1Button, m_Card2, m_Card2Button, m_Card3, m_Card3Button, m_Card4, m_Card4Button, m_ClearEventsButton, m_EventsHistory, m_ItemAccClass, m_ItemAccInst, m_ItemAccSClass, m_MainWnd, m_PlayerServerWalk, m_PlayerStatusV, m_PlayerSyncCreateShadow, m_PlayerSyncDelete, m_pUIHandler, and PluginBase::ShowCard().

◆ CreateTypeNameMapping()

void CreateTypeNameMapping ( )
protected

Definition at line 287 of file PluginDayzPlayerDebug.c.

288 {
289 m_TypeNameMappings.Insert(TYPE_MOD_LOOPING, "MOD_LOOPING");
290 m_TypeNameMappings.Insert(TYPE_MOD_ONETIME, "MOD_ONETIME");
291 m_TypeNameMappings.Insert(TYPE_FB_LOOPING, "FB_LOOPING");
292 m_TypeNameMappings.Insert(TYPE_FB_ONETIME, "FB_ONETIME");
293 m_TypeNameMappings.Insert(TYPE_MOD_GESTURE_LOOPING, "MOD_GESTURE_LOOPING");
294 m_TypeNameMappings.Insert(TYPE_MOD_GESTURE_ONETIME, "MOD_GESTURE_ONETIME");
295 m_TypeNameMappings.Insert(TYPE_FB_GESTURE_LOOPING, "FB_GESTURE_LOOPING");
296 m_TypeNameMappings.Insert(TYPE_FB_GESTURE_ONETIME, "FB_GESTURE_ONETIME");
297 }
const int TYPE_MOD_ONETIME
const int TYPE_MOD_GESTURE_ONETIME
const int TYPE_FB_GESTURE_LOOPING
const int TYPE_FB_ONETIME
class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING
const int TYPE_FB_GESTURE_ONETIME
ref map< int, string > m_TypeNameMappings
const int TYPE_FB_LOOPING
const int TYPE_MOD_GESTURE_LOOPING

References m_TypeNameMappings, TYPE_FB_GESTURE_LOOPING, TYPE_FB_GESTURE_ONETIME, TYPE_FB_LOOPING, TYPE_FB_ONETIME, TYPE_MOD_GESTURE_LOOPING, TYPE_MOD_GESTURE_ONETIME, TYPE_MOD_LOOPING, and TYPE_MOD_ONETIME.

Referenced by PluginDayzPlayerDebug().

◆ DbgShowBoneName()

void DbgShowBoneName ( DayZPlayer pPlayer)
protected

Definition at line 620 of file PluginDayzPlayerDebug.c.

621 {
622 int boneIndex = pPlayer.GetBoneIndexByName("Head");
623
624 // vector pos = pPlayer.GetBonePositionMS(boneIndex);
625 vector tm[4];
626
627 pPlayer.GetBoneTransformMS(boneIndex, tm);
628
629
630 string a = "Bone index:";
631 a += boneIndex.ToString();
632 a += ",";
633 a += tm.ToString();
634 Print(a);
635 }

References Print().

◆ DestroyModuleWidgets()

void DestroyModuleWidgets ( )
protected

Definition at line 510 of file PluginDayzPlayerDebug.c.

511 {
512 delete m_MainWnd;
513 }

References PluginBase::m_MainWnd.

◆ DisplayActions()

void DisplayActions ( int pType)
protected

Definition at line 670 of file PluginDayzPlayerDebug.c.

671 {
674 m_ActionsSelector.ClearItems();
675 string filterTextLower = m_ActionsFilter.GetText();
676 filterTextLower.ToLower();
677
679 filterTextLower.Split(" ", filterTokens);
680
682 {
683 string nameLower = dta.GetName();
684 nameLower.ToLower();
685 bool add = false;
686 if (pType == -1 || pType == dta.GetCategory())
687 {
688 if (filterTextLower)
689 {
690 foreach (string token: filterTokens)
691 {
692 if (nameLower.Contains(token))
693 add = true;
694 }
695 }
696 else
697 add = true;
698 }
699 if (add)
700 sortedNames.Insert(dta.GetNameUnique());
701 }
702 sortedNames.Sort();
703 foreach (int i, string sortedNameUnique: sortedNames)
704 {
706 string sortedName = data.GetName();
707 string typeName;
708
709 if (m_TypeNameMappings.Contains(data.GetCategory()))
710 typeName = m_TypeNameMappings.Get(data.GetCategory());
711
712 m_ActionsSelector.AddItem(sortedName, data, 0, i);
713 if (typeName)
714 m_ActionsSelector.SetItem(i, typeName, null, 1);
715 }
716 }
ref map< string, ref PluginDayzPlayerDebugUserData > m_AnimationListMappings
int m_CurrentType
ref array< ref PluginDayzPlayerDebugUserData > m_AnimationList
array< string > TStringArray
Definition EnScript.c:666

References m_ActionsFilter, m_ActionsSelector, m_AnimationList, m_AnimationListMappings, m_CurrentType, and m_TypeNameMappings.

Referenced by CreateModuleWidgets().

◆ GetCategory()

int OnClick::GetCategory ( )

Definition at line 81 of file PluginDayzPlayerDebug.c.

Referenced by OnErrorThrown().

◆ GetInt()

◆ GetNameUnique()

string OnClick::GetNameUnique ( )

Definition at line 90 of file PluginDayzPlayerDebug.c.

91{
92 protected static ref set<string> m_AnimEventMapping;
93 void PluginDayzPlayerActionCallback()

◆ GetStanceMask()

int OnClick::GetStanceMask ( )

Definition at line 76 of file PluginDayzPlayerDebug.c.

77 {
78 super.OnMouseLeave(w, enterW, x, y);
79 GetGame().GetMission().RemoveActiveInputExcludes({"menu"}, true);
Icon x
Icon y

References GetGame(), x, and y.

Referenced by Can(), AnimatedActionBase::CreateAndSetupActionCallback(), and SetupAction().

◆ Hide()

void Hide ( )
protected

Definition at line 345 of file PluginDayzPlayerDebug.c.

346 {
347 ShowWidgets(false);
348 m_IsActive = false;
349
351 }
void ShowWidgets(bool show)
ref Timer m_TickTimer
bool m_IsActive

References m_IsActive, m_TickTimer, and PluginBase::ShowWidgets().

◆ IsActive()

bool IsActive ( )
protected

Definition at line 320 of file PluginDayzPlayerDebug.c.

321 {
322 return m_IsActive;
323 }

References PluginBase::m_IsActive.

◆ IsFullBody()

bool OnClick::IsFullBody ( )

Definition at line 71 of file PluginDayzPlayerDebug.c.

71 {"menu"});
72 return true;
73
74 }

Referenced by Can(), AnimatedActionBase::CreateAndSetupActionCallback(), and ManBase::HeadingModel().

◆ IsWeaponChange()

bool IsWeaponChange ( out string pNewWeapon,
out int pHideSlot,
out int pShowSlot )
protected

Definition at line 956 of file PluginDayzPlayerDebug.c.

957 {
958 if (m_Weapons)
959 m_Weapons.IsWeaponChange(pNewWeapon, pHideSlot, pShowSlot);
960
961 return false;
962 }

References m_Weapons.

◆ OnChange()

override bool OnChange ( Widget w,
int x,
int y,
bool finished )

Definition at line 62 of file PluginDayzPlayerDebug.c.

63 {
64 super.OnChange(w, x, y, finished);
65 return m_pPluginPlayerDebug.OnChange(w, x, y, finished);
66 }
PluginDayzPlayerDebug m_pPluginPlayerDebug

References m_pPluginPlayerDebug, x, and y.

◆ OnClick()

class PluginDayzPlayerDebugUserData OnClick ( Widget w,
int x,
int y,
int button )

buttons clicks

send rcp

Definition at line 1 of file PluginDayzPlayerDebug.c.

57 {
58 super.OnClick(w, x, y, button);
59 return m_pPluginPlayerDebug.OnClick(w, x, y, button);
60 }

◆ OnMouseEnter()

override bool OnMouseEnter ( Widget w,
int x,
int y )

Definition at line 68 of file PluginDayzPlayerDebug.c.

69 {
70 super.OnMouseEnter(w, x, y);
71 GetGame().GetMission().AddActiveInputExcludes({"menu"});
72 return true;
73
74 }

References x, and y.

◆ OnMouseLeave()

override bool OnMouseLeave ( Widget w,
Widget enterW,
int x,
int y )

Definition at line 76 of file PluginDayzPlayerDebug.c.

77 {
78 super.OnMouseLeave(w, enterW, x, y);
79 GetGame().GetMission().RemoveActiveInputExcludes({"menu"}, true);
80 return true;
81 }

◆ PlayerSyncCreate()

void PlayerSyncCreate ( )
protected

Definition at line 802 of file PluginDayzPlayerDebug.c.

803 {
805
806 vector item_position = GetGame().GetPlayer().GetPosition() + (GetGame().GetPlayer().GetDirection() * 2.0);
807
808 m_pPlayerShadow = Entity.Cast(GetGame().CreateObject("SurvivorM_Mirek", item_position, false, false));
809
810 DayZPlayer pl = DayZPlayer.Cast(GetGame().GetPlayer());
811 pl.DebugSyncShadowSetup(DayZPlayer.Cast(m_pPlayerShadow));
812 }
Entity m_pPlayerShadow
void PlayerSyncDelete()
Definition Camera.c:2

References GetGame(), m_pPlayerShadow, and PlayerSyncDelete().

◆ PlayerSyncDelete()

void PlayerSyncDelete ( )
protected

Definition at line 814 of file PluginDayzPlayerDebug.c.

815 {
816 if (m_pPlayerShadow)
817 {
818 GetGame().ObjectDelete(m_pPlayerShadow);
820 }
821
823 if (pl)
824 pl.DebugSyncShadowSetup(NULL);
825
826 }

References GetGame(), GetPlayer(), and m_pPlayerShadow.

Referenced by PlayerSyncCreate(), and ~PluginDayzPlayerDebug().

◆ PluginDayzPlayerDebug()

void PluginDayzPlayerDebug ( )
protected

◆ PluginDayzPlayerDebugUserData()

void OnClick::PluginDayzPlayerDebugUserData ( string name,
int category,
int pUserData,
bool pFullBody,
int pStanceMask = -1 )

Definition at line 57 of file PluginDayzPlayerDebug.c.

57 {
58 super.OnClick(w, x, y, button);
59 return m_pPluginPlayerDebug.OnClick(w, x, y, button);
60 }
61
62 override bool OnChange(Widget w, int x, int y, bool finished)
63 {
64 super.OnChange(w, x, y, finished);
override bool OnChange(Widget w, int x, int y, bool finished)

References m_pPluginPlayerDebug, x, and y.

Referenced by RegisterAnimation().

◆ RegisterAnimation()

void RegisterAnimation ( string name,
int category,
int pUserData,
bool pFullBody,
int pStanceMask = -1 )
protected

Definition at line 998 of file PluginDayzPlayerDebug.c.

999 {
1001 m_AnimationList.Insert(data);
1002 m_AnimationListMappings.Insert(data.GetNameUnique(), data);
1003 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
void PluginDayzPlayerDebugUserData(string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)

References m_AnimationList, m_AnimationListMappings, name, and PluginDayzPlayerDebugUserData().

Referenced by RegisterAnimations().

◆ RegisterAnimations()

void RegisterAnimations ( )
protected

one time

fullbody looping

one time


-------------------— GESTURES ----------------------—

looping

one time

fullbody looping

fullbody one time


-------------------— SUICIDE -----------------------—

fullbody looping

Definition at line 1005 of file PluginDayzPlayerDebug.c.

1006 {
1007 RegisterAnimation("CLEAN HANDS BOTTLE", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CLEANHANDSBOTTLE, false);
1008 RegisterAnimation("DRINK", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_DRINK, false);
1009 RegisterAnimation("EAT", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_EAT, false);
1010 RegisterAnimation("EMPTY VESSEL", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_EMPTY_VESSEL, false);
1011 RegisterAnimation("CATCH RAIN", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CATCHRAIN, false);
1012 RegisterAnimation("VIEW COMPASS", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_VIEWCOMPASS, false);
1013 RegisterAnimation("ITEM TUNE", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_ITEM_TUNE, false);
1014 RegisterAnimation("GIVE L ITEM", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_GIVEL, false);
1015 RegisterAnimation("GIVE R ITEM", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_GIVER, false);
1016 RegisterAnimation("SHAVE", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_SHAVE, false);
1017 RegisterAnimation("FILL MAG", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_FILLMAG, false);
1018 RegisterAnimation("EMPTY MAG", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_EMPTYMAG, false);
1019 RegisterAnimation("OPEN ITEM", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_OPENITEM, false);
1020 RegisterAnimation("TAKE TEMP SELF", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_TAKETEMPSELF, false);
1021 RegisterAnimation("VIEW MAP", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_VIEWMAP, false);
1022 RegisterAnimation("RAISE ITEM", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_RAISEITEM, false);
1023 RegisterAnimation("SEARCH INVENTORY", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_SEARCHINVENTORY, false);
1024 RegisterAnimation("CRAFTING UPPDERBODY", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CRAFTING, false);
1025 RegisterAnimation("RESTRAINED STRUGGLE", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_RESTRAINEDSTRUGGLE, false);
1026 RegisterAnimation("COVER HEAD SELF", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_COVERHEAD_SELF, false);
1027 RegisterAnimation("COVER HEAD TARGET", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_COVERHEAD_TARGET, false);
1028 RegisterAnimation("SET ALARM CLOCK", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_SET_ALARM, false);
1029 RegisterAnimation("ENGINE START", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_STARTENGINE, false);
1030 RegisterAnimation("TOOT HORN", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_TOOTHORN, false);
1031 RegisterAnimation("ENGINE STOP", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_STOPENGINE, false);
1032 RegisterAnimation("SHIFT GEAR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_SHIFTGEAR, false);
1033 RegisterAnimation("TURN ON/OFF LIGHTS", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_HEADLIGHT, false);
1034 RegisterAnimation("DRIVER OPEN DOOR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_DRIVER_DOOR_OPEN, false);
1035 RegisterAnimation("DRIVER CLOSE DOOR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_DRIVER_DOOR_CLOSE, false);
1036 RegisterAnimation("CODRIVER OPEN DOOR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CODRIVER_DOOROPEN, false);
1037 RegisterAnimation("CODRIVER CLOSE DOOR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CODRIVER_DOORCLOSE, false);
1039 RegisterAnimation("PICK UP HANDS", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_PICKUP_HANDS, false);
1040 RegisterAnimation("PICK UP INVENTORY", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_PICKUP_INVENTORY, false);
1041 RegisterAnimation("LICK BATTERY", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_LICKBATTERY, false);
1042 RegisterAnimation("LIGHT FLARE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_LIGHTFLARE, false);
1043 RegisterAnimation("LITCHEM LIGHT", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_LITCHEMLIGHT, false);
1044 RegisterAnimation("UNPIN GRENAGE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_UNPINGRENAGE, false);
1045 RegisterAnimation("OPEN DOOR FW", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_OPENDOORFW, false);
1046 RegisterAnimation("OPEN LID", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_OPENLID, false);
1047 RegisterAnimation("CLOSE LID", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_CLOSELID, false);
1048 RegisterAnimation("RADIO ON", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ITEM_ON, false);
1049 RegisterAnimation("RADIO OFF", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ITEM_OFF, false);
1050 RegisterAnimation("BATON EXTEND", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_BATONEXTEND, false);
1051 RegisterAnimation("BATON RETRACT", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_BATONRETRACT, false);
1052 RegisterAnimation("UNLOCK HANDCUFF TARGET", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_UNLOCKHANDCUFFTARGET, false);
1053 RegisterAnimation("FISHINGROD EXTEND", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_FISHINGRODEXTEND, false);
1054 RegisterAnimation("FISHINGROD RETRACT", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_FISHINGRODRETRACT, false);
1055 RegisterAnimation("OPEN ITEM ONCE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_OPENITEM_ONCE, false);
1056 RegisterAnimation("CLOSE ITEM ONCE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_CLOSEITEM_ONCE, false);
1057 RegisterAnimation("ATTACH SCOPE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ATTACHSCOPE, false);
1058 RegisterAnimation("ATTACH BARREL", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ATTACHBARREL, false);
1059 RegisterAnimation("EMPTY SEEDS PACK", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_EMPTYSEEDSPACK, false);
1060 RegisterAnimation("INTERACT", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_INTERACTONCE, false);
1061 RegisterAnimation("ATTACH ITEM", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ATTACHITEM, false);
1062 RegisterAnimation("STOP ALARM CLOCK", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_STOP_ALARM, false);
1063 RegisterAnimation("PRESS TRIGGER", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_PRESS_TRIGGER, false);
1064 RegisterAnimation("DROP ITEM HANDS", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_DROPITEM_HANDS, false);
1065 RegisterAnimation("DROP ITEM INVENTORY", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_DROPITEM_INVENTORY, false);
1066 RegisterAnimation("EAT PILL", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_EAT_PILL, false);
1067 RegisterAnimation("EAT TABLET", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_EAT_TABLET, false);
1068 RegisterAnimation("HEATPACK", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_HEATPACK, false);
1069 RegisterAnimation("BLOODTEST", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_BLOODTEST, false);
1070 RegisterAnimation("BLOODTESTOTHER", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_BLOODTESTOTHER, false);
1072 RegisterAnimation("DRINK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DRINK, true, DayZPlayerConstants.STANCEMASK_PRONE);
1073 RegisterAnimation("EAT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_EAT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1074 RegisterAnimation("CATCH RAIN", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CATCHRAIN, true, DayZPlayerConstants.STANCEMASK_PRONE);
1075 RegisterAnimation("WALKIETALKIE TUNE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_ITEM_TUNE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1076 RegisterAnimation("GIVE L ITEM", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_GIVEL, true, DayZPlayerConstants.STANCEMASK_PRONE);
1077 RegisterAnimation("GIVE R ITEM", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_GIVER, true, DayZPlayerConstants.STANCEMASK_PRONE);
1078 RegisterAnimation("FILL MAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FILLMAG, true, DayZPlayerConstants.STANCEMASK_PRONE);
1079 RegisterAnimation("EMPTY MAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_EMPTYMAG, true, DayZPlayerConstants.STANCEMASK_PRONE);
1080 RegisterAnimation("DRINK POND", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DRINKPOND, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1081 RegisterAnimation("DRINK WELL", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DRINKWELL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1082 RegisterAnimation("FILL BOTTLE WELL", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FILLBOTTLEWELL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1083 RegisterAnimation("FIRE ESTINGUISHER", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FIREESTINGUISHER, true, DayZPlayerConstants.STANCEMASK_ERECT);
1084 RegisterAnimation("FLAME REPAIR", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FLAME_REPAIR, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1085 RegisterAnimation("WRING CLOTH", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_WRING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1086 RegisterAnimation("FISHING", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FISHING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1087 RegisterAnimation("CPR", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CPR, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1088 RegisterAnimation("BANDAGE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_BANDAGE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1089 RegisterAnimation("CRAFTING", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CRAFTING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1090 RegisterAnimation("INTERACT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_INTERACT, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1091 RegisterAnimation("FORCE FEED TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FORCEFEED, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1092 RegisterAnimation("BANDAGE TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_BANDAGETARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1093 RegisterAnimation("SPRAY PLANT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SPRAYPLANT, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1094 RegisterAnimation("START FIRE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_STARTFIRE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1095 RegisterAnimation("ANIMAL SKINNING", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_ANIMALSKINNING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1096 RegisterAnimation("WASH HANDS WELL", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_WASHHANDSWELL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1097 RegisterAnimation("WASH HANDS POND", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_WASHHANDSPOND, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1098 RegisterAnimation("SALINE BLOODBAG TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SALINEBLOODBAGTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1099 RegisterAnimation("SALINE BLOOD BAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SALINEBLOODBAG, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1100 RegisterAnimation("STITCH UP SELF", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_STITCHUPSELF, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1101 RegisterAnimation("VOMIT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VOMIT, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1102 RegisterAnimation("UNRESTRAINT TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_UNRESTRAINTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1103 RegisterAnimation("RESTRAIN TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RESTRAINTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1104 RegisterAnimation("CHECK PULSE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CHECKPULSE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1105 RegisterAnimation("CLEAN WOUNDS TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CLEANWOUNDSTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1106 RegisterAnimation("COLLECT BLOOD SELF", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_COLLECTBLOODSELF, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1107 RegisterAnimation("EMPTY VESSEL", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_EMPTY_VESSEL, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1108 RegisterAnimation("OPEN ITEM", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_OPENITEM, true, DayZPlayerConstants.STANCEMASK_PRONE);
1109 RegisterAnimation("HACK BUSH", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_HACKBUSH, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1110 RegisterAnimation("HACK TREE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_HACKTREE, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1111 RegisterAnimation("TAKE TEMP SELF", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_TAKETEMPSELF, true, DayZPlayerConstants.STANCEMASK_PRONE);
1112 RegisterAnimation("DIG HOLE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DIG, true, DayZPlayerConstants.STANCEMASK_ERECT);
1113 RegisterAnimation("DIG UP CACHE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DIGUPCACHE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1114 RegisterAnimation("DIG MANIPULATE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DIGMANIPULATE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1115 RegisterAnimation("DEPLOY HEAVY", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DEPLOY_HEAVY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1116 RegisterAnimation("DEPLOY 1HD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DEPLOY_1HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1117 RegisterAnimation("DEPLOY 2HD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DEPLOY_2HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1118 RegisterAnimation("BLOW FIREPLACE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_BLOWFIREPLACE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1119 RegisterAnimation("VIEW MAP", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VIEWMAP, true, DayZPlayerConstants.STANCEMASK_PRONE);
1120 RegisterAnimation("VIEW COMPASS", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VIEWCOMPASS, true, DayZPlayerConstants.STANCEMASK_PRONE);
1121 RegisterAnimation("FILL BOTTLE POND", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FILLBOTTLEPOND, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1122 RegisterAnimation("PLACING HEAVY", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PLACING_HEAVY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1123 RegisterAnimation("PLACING 1HD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PLACING_1HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1124 RegisterAnimation("PLACING 2HD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PLACING_2HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1125 RegisterAnimation("CUT BARK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CUTBARK, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1126 RegisterAnimation("VIEW NOTE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VIEWNOTE, true, DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1127 RegisterAnimation("SEARCH INVENTORY", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SEARCHINVENTORY, true, DayZPlayerConstants.STANCEMASK_PRONE);
1128 RegisterAnimation("LOOK OPTICS", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_LOOKOPTICS, true, DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1129 RegisterAnimation("MINE ROCK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_MINEROCK, true, DayZPlayerConstants.STANCEMASK_ERECT);
1130 RegisterAnimation("RAISE ITEM", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RAISEITEM, true, DayZPlayerConstants.STANCEMASK_PRONE);
1131 RegisterAnimation("RESTRAINED STRUGGLE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RESTRAINEDSTRUGGLE, true, DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1132 RegisterAnimation("RESTRAIN SELF", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RESTRAINSELF, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1133 RegisterAnimation("ASSEMBLE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_ASSEMBLE, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1134 RegisterAnimation("DISASSEMBLE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DISASSEMBLE, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1135 RegisterAnimation("RAISE FLAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RAISE_FLAG, true, DayZPlayerConstants.STANCEMASK_ERECT);
1136 RegisterAnimation("LOWER FLAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_LOWER_FLAG, true, DayZPlayerConstants.STANCEMASK_ERECT);
1137 RegisterAnimation("SET ALARM CLOCK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SET_ALARM, true, DayZPlayerConstants.STANCEMASK_PRONE);
1138 RegisterAnimation("SHOVEL DIG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SHOVEL_DIG, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1139 RegisterAnimation("VEHICLE_PUSH", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VEHICLE_PUSH, true, DayZPlayerConstants.STANCEMASK_ERECT);
1140 RegisterAnimation("PATCHING_TIRE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PATCHING_TIRE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1141 RegisterAnimation("PATCHING_DUCTTAPE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PATCHING_DUCTTAPE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1142 RegisterAnimation("PATCHING_SEWING", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PATCHING_SEWING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1143 RegisterAnimation("PATCHING_LEATHER_SEWING_KIT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PATCHING_LEATHER_SEWING_KIT, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1144 RegisterAnimation("SPLITTING FIREWOOD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SPLITTING_FIREWOOD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1145 RegisterAnimation("BREAKING STICK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_BREAKING_STICK, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1146 RegisterAnimation("CLEANING_WEAPON", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CLEANING_WEAPON, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1147
1149 RegisterAnimation("PICK UP HANDS", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_PICKUP_HANDS, true, DayZPlayerConstants.STANCEMASK_PRONE);
1150 RegisterAnimation("PICK UP INVENTORY", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_PICKUP_INVENTORY, true, DayZPlayerConstants.STANCEMASK_PRONE);
1151 RegisterAnimation("LICK BATTERY", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_LICKBATTERY, true, DayZPlayerConstants.STANCEMASK_PRONE);
1152 RegisterAnimation("LIGHT FLARE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_LIGHTFLARE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1153 RegisterAnimation("LITCHEM LIGHT", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_LITCHEMLIGHT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1154 RegisterAnimation("UNPIN GRENAGE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_UNPINGRENAGE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1155 RegisterAnimation("RADIO ON", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_ITEM_ON, true, DayZPlayerConstants.STANCEMASK_PRONE);
1156 RegisterAnimation("RADIO OFF", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_ITEM_OFF, true, DayZPlayerConstants.STANCEMASK_PRONE);
1157 RegisterAnimation("HANDCUFF TARGET", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_HANDCUFFTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1158 RegisterAnimation("MORPHINE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_MORPHINE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1159 RegisterAnimation("INJECTION", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_INJECTION, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1160 RegisterAnimation("INJECTION TARGET", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_INJECTIONTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1161 RegisterAnimation("DRINK SIP", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_DRINKSIP, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1162 RegisterAnimation("CLEAN HANDS BOTTLE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_CLEANHANDSBOTTLE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1163 RegisterAnimation("OPEN ITEM ONCE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_OPENITEM_ONCE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1164 RegisterAnimation("POKE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_POKE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1165 RegisterAnimation("ATTACH SCOPE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_ATTACHSCOPE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1166 RegisterAnimation("ATTACH BARREL", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_ATTACHBARREL, true, DayZPlayerConstants.STANCEMASK_PRONE);
1167 RegisterAnimation("RESTRAIN", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_RESTRAIN, true, DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1168 RegisterAnimation("PICK UP HEAVY", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_PICKUP_HEAVY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1169 RegisterAnimation("STOP ALARM CLOCK", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_STOP_ALARM, true, DayZPlayerConstants.STANCEMASK_PRONE);
1170 RegisterAnimation("PRESS TRIGGER", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_PRESS_TRIGGER, true, DayZPlayerConstants.STANCEMASK_PRONE);
1171 RegisterAnimation("EAT PILL", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_EAT_PILL, true, DayZPlayerConstants.STANCEMASK_PRONE);
1172 RegisterAnimation("EAT TABLET", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_EAT_TABLET, true, DayZPlayerConstants.STANCEMASK_PRONE);
1173 RegisterAnimation("HEATPACK", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_HEATPACK, true, DayZPlayerConstants.STANCEMASK_PRONE);
1178 RegisterAnimation("GREETING", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_GREETING, false);
1179 RegisterAnimation("POINT", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_POINT, false);
1180 RegisterAnimation("THUMB UP", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_THUMB, false);
1181 RegisterAnimation("THUMB DOWN", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_THUMB, false);
1182 RegisterAnimation("SILENCE", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_SILENCE, false);
1183 RegisterAnimation("TAUNT", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_TAUNT, false);
1184 RegisterAnimation("TIME OUT", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_TIMEOUT, false);
1185 RegisterAnimation("HEART", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_HEART, false);
1186 RegisterAnimation("FACEPALM", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_FACEPALM, false);
1187 RegisterAnimation("WATCHING", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_WATCHING, false);
1188 RegisterAnimation("HOLD", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_HOLD, false);
1189 RegisterAnimation("LISTENING", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_LISTENING, false);
1190 RegisterAnimation("POINT AT SELF", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_POINTSELF, false);
1191 RegisterAnimation("LOOK AT ME", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_LOOKATME, false);
1192 RegisterAnimation("OKAY", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_OKAY, false);
1193 RegisterAnimation("RPS", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_RPS, false);
1195 RegisterAnimation("THROAT", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_THROAT, false);
1196 RegisterAnimation("CLAP", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_CLAP, false);
1197 RegisterAnimation("DABBING", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_DABBING, false);
1198 RegisterAnimation("MOVE", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_MOVE, false);
1199 RegisterAnimation("DOWN", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_DOWN, false);
1200 RegisterAnimation("COME", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_COME, false);
1201 RegisterAnimation("TAUNT KISS", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_TAUNTKISS, false);
1202 RegisterAnimation("TAUNT ELBOW", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_TAUNTELBOW, false);
1203 RegisterAnimation("TAUNT THINK", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_TAUNTTHINK, false);
1204 RegisterAnimation("NOD HEAD", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_NODHEAD, false);
1205 RegisterAnimation("SHAKE HEAD", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_SHAKEHEAD, false);
1206 RegisterAnimation("SHRUG", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_SHRUG, false);
1207 RegisterAnimation("SURRENDER", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_SURRENDER, false);
1209 RegisterAnimation("GREETING", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_GREETING, true, DayZPlayerConstants.STANCEMASK_PRONE);
1210 RegisterAnimation("POINT", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_POINT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1211 RegisterAnimation("THUMBUP", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_THUMB, true, DayZPlayerConstants.STANCEMASK_PRONE);
1212 RegisterAnimation("THUMBDOWN", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_THUMB, true, DayZPlayerConstants.STANCEMASK_PRONE);
1213 RegisterAnimation("SILENCE", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SILENCE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1214 RegisterAnimation("TAUNT", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_TAUNT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1215 RegisterAnimation("TIMEOUT", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_TIMEOUT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1216 RegisterAnimation("HEART", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_HEART, true, DayZPlayerConstants.STANCEMASK_PRONE);
1217 RegisterAnimation("WATCHING", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_WATCHING, true, DayZPlayerConstants.STANCEMASK_PRONE);
1218 RegisterAnimation("HOLD", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_HOLD, true, DayZPlayerConstants.STANCEMASK_PRONE);
1219 RegisterAnimation("LISTENING", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_LISTENING, true, DayZPlayerConstants.STANCEMASK_PRONE);
1220 RegisterAnimation("POINTSELF", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_POINTSELF, true, DayZPlayerConstants.STANCEMASK_PRONE);
1221 RegisterAnimation("LOOKATME", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_LOOKATME, true, DayZPlayerConstants.STANCEMASK_PRONE);
1222 RegisterAnimation("OKAY", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_OKAY, true, DayZPlayerConstants.STANCEMASK_PRONE);
1223 RegisterAnimation("SALUTE", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SALUTE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1224 RegisterAnimation("CAMPFIRE", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_CAMPFIRE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1225 RegisterAnimation("LYINGDOWN", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_LYINGDOWN, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1226 RegisterAnimation("SOS", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SOS, true, DayZPlayerConstants.STANCEMASK_ERECT);
1227 RegisterAnimation("SITA", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SITA, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1228 RegisterAnimation("SITB", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SITB, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1229 RegisterAnimation("DABBING", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_DABBING, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1230 RegisterAnimation("SURRENDER", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SURRENDER, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_PRONE);
1231 RegisterAnimation("KNEEL", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_KNEEL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1232 RegisterAnimation("TRAILER WAKE UP", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_WAKE_UP, true, DayZPlayerConstants.STANCEMASK_ERECT);
1233 RegisterAnimation("TRAILER DEAD BODY", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_DEAD_BODY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1234 RegisterAnimation("TRAILER WALKIE TALKIE", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_WALKIE_TALKIE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1235 RegisterAnimation("TRAILER WOUNDED", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_WOUNDED, true, DayZPlayerConstants.STANCEMASK_ERECT);
1236 RegisterAnimation("TRAILER WALK AWAY", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_WALK_AWAY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1237 RegisterAnimation("TRAILER DEAD DEAD", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_DEAD, true, DayZPlayerConstants.STANCEMASK_ERECT);
1239 RegisterAnimation("THROAT", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_THROAT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1240 RegisterAnimation("MOVE", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_MOVE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1241 RegisterAnimation("DOWN", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_DOWN, true, DayZPlayerConstants.STANCEMASK_PRONE);
1242 RegisterAnimation("COME", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_COME, true, DayZPlayerConstants.STANCEMASK_PRONE);
1243 RegisterAnimation("TAUNT KISS", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_TAUNTKISS, true, DayZPlayerConstants.STANCEMASK_PRONE);
1244 RegisterAnimation("TAUNT THINK", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_TAUNTTHINK, true, DayZPlayerConstants.STANCEMASK_PRONE);
1245 RegisterAnimation("DANCE", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_DANCE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1246 RegisterAnimation("NOD HEAD", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_NODHEAD, true, DayZPlayerConstants.STANCEMASK_PRONE);
1247 RegisterAnimation("SHAKE HEAD", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_SHAKEHEAD, true, DayZPlayerConstants.STANCEMASK_PRONE);
1248 RegisterAnimation("SHRUG", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_SHRUG, true, DayZPlayerConstants.STANCEMASK_PRONE);
1249 RegisterAnimation("SURRENDER", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_SURRENDER, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_PRONE);
1250 RegisterAnimation("TRAILER MASK", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_TRAILER_MASK, true, DayZPlayerConstants.STANCEMASK_ERECT);
1251 RegisterAnimation("TRAILER MASK_02", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_TRAILER_MASK_02, true, DayZPlayerConstants.STANCEMASK_ERECT);
1252
1257 RegisterAnimation("1HD", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_1HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1258 RegisterAnimation("FIREAXE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_FIREAXE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1259 RegisterAnimation("PITCHFORK", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_PITCHFORK, true, DayZPlayerConstants.STANCEMASK_ERECT);
1260 RegisterAnimation("PISTOL", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_PISTOL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1261 RegisterAnimation("RIFLE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_RIFLE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1262 RegisterAnimation("SWORD", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_SWORD, true, DayZPlayerConstants.STANCEMASK_ERECT);
1263 RegisterAnimation("UNARMED", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_UNARMED, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1264 RegisterAnimation("WOODAXE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_WOODAXE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1265 RegisterAnimation("SPEAR", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_SPEAR, true, DayZPlayerConstants.STANCEMASK_ERECT);
1266 RegisterAnimation("SICKLE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_SICKLE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1267 RegisterAnimation("HOE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_HOE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1268 }
const int TYPE_FB_SUICIDE_LOOPING
void RegisterAnimation(string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597

References RegisterAnimation(), TYPE_FB_GESTURE_LOOPING, TYPE_FB_GESTURE_ONETIME, TYPE_FB_LOOPING, TYPE_FB_ONETIME, TYPE_FB_SUICIDE_LOOPING, TYPE_MOD_GESTURE_LOOPING, TYPE_MOD_GESTURE_ONETIME, TYPE_MOD_LOOPING, and TYPE_MOD_ONETIME.

Referenced by PluginDayzPlayerDebug().

◆ RegisterDebugItem()

void RegisterDebugItem ( ItemBase item,
PlayerBase player )
protected

Definition at line 315 of file PluginDayzPlayerDebug.c.

316 {
317 }

◆ ReleaseFocus()

void ReleaseFocus ( )
protected

Definition at line 365 of file PluginDayzPlayerDebug.c.

366 {
367 if (m_HasFocus)
368 {
369 GetGame().GetInput().ChangeGameFocus(-1);
370 GetGame().GetUIManager().ShowUICursor(false);
371 m_HasFocus = false;
372 }
373 }

References GetGame(), and m_HasFocus.

Referenced by ToggleDebugWindowEvent().

◆ Show()

void Show ( )
protected

Definition at line 332 of file PluginDayzPlayerDebug.c.

333 {
334 ShowWidgets(true);
335 m_IsActive = true;
336
337 if (!m_TickTimer)
338 {
339 m_TickTimer = new Timer();
340 m_TickTimer.Run(0.1, this, "Tick", NULL, true);
341 }
342 }

References m_IsActive, m_TickTimer, and PluginBase::ShowWidgets().

◆ ShowCard()

void ShowCard ( int pCard)
protected

Definition at line 516 of file PluginDayzPlayerDebug.c.

517 {
518 m_Card0.Show(pCard == 0);
519 m_Card1.Show(pCard == 1);
520 m_Card2.Show(pCard == 2);
521 m_Card3.Show(pCard == 3);
522 m_Card4.Show(pCard == 4);
523 }

References m_Card0, m_Card1, m_Card2, m_Card3, and m_Card4.

◆ ShowWidgets()

void ShowWidgets ( bool show)
protected

Definition at line 325 of file PluginDayzPlayerDebug.c.

326 {
327 if (m_MainWnd)
328 m_MainWnd.Show(show);
329 }

References m_MainWnd.

Referenced by OnRPC(), PluginItemDiagnostic(), and ToggleDebugWindowEvent().

◆ Tick()

void Tick ( )
protected

Definition at line 530 of file PluginDayzPlayerDebug.c.

531 {
533 if (!player)
534 return;
535
536 // Print("PluginDayzPlayerDebug tick");
538
539 // DbgShowBoneName(player);
541
544
545 m_Weapons.Tick();
546 }
void UpdateCommandModifiers(DayZPlayer pPlayer)
void UpdatePlayerStatus(DayZPlayer pPlayer)
void UpdateItemAccessor(DayZPlayer pPlayer)

References GetGame(), GetPlayer(), m_Weapons, UpdateCommandModifiers(), UpdateItemAccessor(), and UpdatePlayerStatus().

◆ ToggleDebugWindowEvent()

void ToggleDebugWindowEvent ( )
protected

Definition at line 378 of file PluginDayzPlayerDebug.c.

379 {
381 if (m_CurrentMode > 2)
382 m_CurrentMode = 0;
383
385 }
void ToggleDebugWindowSetMode(int pMode)
int m_CurrentMode

References m_CurrentMode, and PluginBase::ToggleDebugWindowSetMode().

Referenced by OnClick().

◆ ToggleDebugWindowEventOld()

void ToggleDebugWindowEventOld ( )
protected

act:0 foc:0 -> act:1 foc:0 act:1 foc:0 -> act:0 foc:0 act:1 foc:1 -> act:1 foc:0

Definition at line 389 of file PluginDayzPlayerDebug.c.

390 {
394
395 if (m_IsActive && !m_HasFocus)
396 Hide();
397 else
398 {
399 Show();
400 ReleaseFocus();
401 }
402 }
void Hide()
void ReleaseFocus()
void Show()

References PluginBase::Hide(), m_HasFocus, m_IsActive, PluginBase::ReleaseFocus(), and PluginBase::Show().

◆ ToggleDebugWindowEventP()

void ToggleDebugWindowEventP ( )
protected

act:0 foc:0 -> act:1 foc:1 act:1 foc:0 -> act:1 foc:1 act:1 foc:1 -> act:0 foc:0

Definition at line 405 of file PluginDayzPlayerDebug.c.

406 {
410
411 if (m_IsActive && m_HasFocus)
412 {
413 Hide();
414 ReleaseFocus();
415 }
416 else
417 {
418 Show();
419 CaptureFocus();
420 }
421 }
void CaptureFocus()

References PluginBase::CaptureFocus(), PluginBase::Hide(), m_HasFocus, m_IsActive, PluginBase::ReleaseFocus(), and PluginBase::Show().

◆ ToggleDebugWindowSetMode()

void ToggleDebugWindowSetMode ( int pMode)
protected

Definition at line 424 of file PluginDayzPlayerDebug.c.

425 {
426 switch (pMode)
427 {
428 case 0: Hide(); ReleaseFocus(); break;
429 case 1: Show(); ReleaseFocus(); break;
430 case 2: Show(); CaptureFocus(); break;
431 }
432 }

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

◆ UpdateCommandModifiers()

void UpdateCommandModifiers ( DayZPlayer pPlayer)
protected

Definition at line 638 of file PluginDayzPlayerDebug.c.

639 {
641
642 // int nMods = pPlayer.GetCommandModifierCount();
643 // Print("Number of modifiers");
644 // Print(nMods);
645
646 /*
647 for (int i = 0; i < nMods; i ++)
648 {
649 // int a = pPlayer.GetCommandModifierId(i);
650
651 if (pPlayer.GetCommandModifierId(i) == DayZPlayerConstants.COMMANDID_MOD_ACTION)
652 {
653 }
654
655 // Print(a);
656
657 }
658 */
659
660 HumanCommandActionCallback clbk = pPlayer.GetCommandModifier_Action();
661 if (clbk)
662 Print(clbk);
663 ;
664 }
void Actions_UpdateGlobals(DayZPlayer pPlayer)

References Actions_UpdateGlobals(), and Print().

Referenced by Tick().

◆ UpdateItemAccessor()

void UpdateItemAccessor ( DayZPlayer pPlayer)
protected

Definition at line 832 of file PluginDayzPlayerDebug.c.

833 {
834 m_ItemAccClass.SetText(pPlayer.DebugGetItemClass());
835 m_ItemAccSClass.SetText(pPlayer.DebugGetItemSuperClass());
836 m_ItemAccInst.SetText(pPlayer.DebugGetItemAnimInstance());
837 }

References m_ItemAccClass, m_ItemAccInst, and m_ItemAccSClass.

Referenced by Tick().

◆ UpdatePlayerStatus()

void UpdatePlayerStatus ( DayZPlayer pPlayer)
protected

Definition at line 553 of file PluginDayzPlayerDebug.c.

554 {
555
557
558
559 pPlayer.GetMovementState(state);
560
561 string a = "Cmd:";
562
563 if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_MOVE)
564 {
565 a += "MOVE:";
566 a += " st:" + state.m_iStanceIdx.ToString() + ", mv:" + state.m_iMovement.ToString();
567 }
568 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_ACTION)
569 {
570 a += "FB ACTION:";
571 a += " st:" + state.m_iStanceIdx.ToString();
572 }
573 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_MELEE)
574 {
575 a += "MELEE:";
576 a += " st:" + state.m_iStanceIdx.ToString();
577 }
578 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_MELEE2)
579 {
580 a += "MELEE2:";
581 a += " st:" + state.m_iStanceIdx.ToString();
582 }
583 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_FALL)
584 {
585 a += "FALL:";
586 a += " st:" + state.m_iStanceIdx.ToString();
587 }
588 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_DEATH)
589 {
590 a += "now DEAD:";
591 a += " st:" + state.m_iStanceIdx.ToString();
592 }
593 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_LADDER)
594 {
595 a += "LADDER:";
596 a += " st:" + state.m_iStanceIdx.ToString();
597 }
598 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_UNCONSCIOUS)
599 {
600 a += "Unconscious:";
601 a += " st:" + state.m_iStanceIdx.ToString();
602 }
603 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_SWIM)
604 {
605 a += "Swimming:";
606 a += " st:" + state.m_iStanceIdx.ToString();
607 }
608 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_CLIMB)
609 {
610 a += "Climbing:";
611 a += " st:" + state.m_iStanceIdx.ToString();
612 }
613 else
614 a += "UNKNOWN";
615
616 m_PlayerStatusV.SetText(a);
617 }

References m_PlayerStatusV.

Referenced by Tick().

◆ ~PluginDayzPlayerDebug()

void ~PluginDayzPlayerDebug ( )
protected

Definition at line 300 of file PluginDayzPlayerDebug.c.

301 {
302 ReleaseFocus();
303
305
306#ifndef NO_GUI
307 m_Weapons = NULL;
311#endif
312 }
void DestroyModuleWidgets()

References PluginBase::DestroyModuleWidgets(), m_Controls, m_OtherCmds, m_Weapons, PlayerSyncDelete(), and PluginBase::ReleaseFocus().

Variable Documentation

◆ m_ActionEventV

TextWidget m_ActionEventV
protected

Definition at line 222 of file PluginDayzPlayerDebug.c.

Referenced by Actions_Start(), and CreateModuleWidgets().

◆ m_ActionsCancel

ButtonWidget m_ActionsCancel
protected

Definition at line 218 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionsEnd

ButtonWidget m_ActionsEnd
protected

Definition at line 216 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionsFilter

◆ m_ActionsFinish

ButtonWidget m_ActionsFinish
protected

Definition at line 217 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionsGlobalStatus

TextWidget m_ActionsGlobalStatus
protected

Definition at line 223 of file PluginDayzPlayerDebug.c.

Referenced by Actions_UpdateGlobals(), and CreateModuleWidgets().

◆ m_ActionsOTA

ButtonWidget m_ActionsOTA
protected

Definition at line 219 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionsOTL

ButtonWidget m_ActionsOTL
protected

Definition at line 220 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionsSelector

TextListboxWidget m_ActionsSelector
protected

Definition at line 214 of file PluginDayzPlayerDebug.c.

Referenced by Actions_Start(), CreateModuleWidgets(), and DisplayActions().

◆ m_ActionsStart

ButtonWidget m_ActionsStart
protected

Definition at line 215 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionStateV

TextWidget m_ActionStateV
protected

Definition at line 221 of file PluginDayzPlayerDebug.c.

Referenced by Actions_Start(), and CreateModuleWidgets().

◆ m_ActionTypeAll

ButtonWidget m_ActionTypeAll
protected

Definition at line 235 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionTypeFLA

ButtonWidget m_ActionTypeFLA
protected

Definition at line 238 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionTypeFLG

ButtonWidget m_ActionTypeFLG
protected

Definition at line 242 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionTypeFOA

ButtonWidget m_ActionTypeFOA
protected

Definition at line 239 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionTypeFOG

ButtonWidget m_ActionTypeFOG
protected

Definition at line 243 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionTypeLA

ButtonWidget m_ActionTypeLA
protected

Definition at line 236 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionTypeLG

ButtonWidget m_ActionTypeLG
protected

Definition at line 240 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionTypeOA

ButtonWidget m_ActionTypeOA
protected

Definition at line 237 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_ActionTypeOG

ButtonWidget m_ActionTypeOG
protected

Definition at line 241 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_AnimationList

◆ m_AnimationListMappings

Definition at line 193 of file PluginDayzPlayerDebug.c.

Referenced by DisplayActions(), and RegisterAnimation().

◆ m_bIsFullBody

bool m_bIsFullBody
protected

Definition at line 96 of file PluginDayzPlayerDebug.c.

◆ m_Card0

Widget m_Card0
protected

Definition at line 201 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), and ShowCard().

◆ m_Card0Button

ButtonWidget m_Card0Button
protected

Definition at line 206 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_Card1

Widget m_Card1
protected

Definition at line 202 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), PluginDayzPlayerDebug(), and ShowCard().

◆ m_Card1Button

ButtonWidget m_Card1Button
protected

Definition at line 207 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_Card2

Widget m_Card2
protected

Definition at line 203 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), PluginDayzPlayerDebug(), and ShowCard().

◆ m_Card2Button

ButtonWidget m_Card2Button
protected

Definition at line 208 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_Card3

Widget m_Card3
protected

Definition at line 204 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), PluginDayzPlayerDebug(), and ShowCard().

◆ m_Card3Button

ButtonWidget m_Card3Button
protected

Definition at line 209 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_Card4

Widget m_Card4
protected

Definition at line 205 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), and ShowCard().

◆ m_Card4Button

ButtonWidget m_Card4Button
protected

Definition at line 210 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_Category

int m_Category
protected

Definition at line 98 of file PluginDayzPlayerDebug.c.

◆ m_CH_ActionCancel

bool m_CH_ActionCancel = false
protected

Definition at line 259 of file PluginDayzPlayerDebug.c.

Referenced by CommandHandler().

◆ m_CH_ActionCommand

int m_CH_ActionCommand = -1000
protected

Definition at line 258 of file PluginDayzPlayerDebug.c.

Referenced by CommandHandler().

◆ m_CH_ActionStart

bool m_CH_ActionStart = false
protected

Definition at line 257 of file PluginDayzPlayerDebug.c.

Referenced by CommandHandler().

◆ m_ClearEventsButton

ButtonWidget m_ClearEventsButton
protected

Definition at line 246 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_Controls

◆ m_CurrentMode

◆ m_CurrentType

int m_CurrentType
protected

Definition at line 254 of file PluginDayzPlayerDebug.c.

Referenced by DisplayActions().

◆ m_EventsHistory

◆ m_HasFocus

◆ m_HasServerWalk

bool m_HasServerWalk = false
protected

Definition at line 198 of file PluginDayzPlayerDebug.c.

◆ m_IsActive

bool m_IsActive = false
protected

Definition at line 196 of file PluginDayzPlayerDebug.c.

◆ m_iStanceMask

int m_iStanceMask
protected

Definition at line 97 of file PluginDayzPlayerDebug.c.

◆ m_ItemAccClass

TextWidget m_ItemAccClass
protected

Definition at line 231 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), and UpdateItemAccessor().

◆ m_ItemAccInst

TextWidget m_ItemAccInst
protected

Definition at line 233 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), and UpdateItemAccessor().

◆ m_ItemAccSClass

TextWidget m_ItemAccSClass
protected

Definition at line 232 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), and UpdateItemAccessor().

◆ m_iUserData

int m_iUserData
protected

Definition at line 95 of file PluginDayzPlayerDebug.c.

◆ m_MainWnd

◆ m_Name

string m_Name
protected

Definition at line 99 of file PluginDayzPlayerDebug.c.

◆ m_OtherCmds

◆ m_PlayerServerWalk

ButtonWidget m_PlayerServerWalk
protected

Definition at line 229 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_PlayerStatusV

EditBoxWidget m_PlayerStatusV
protected

Definition at line 213 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets(), and UpdatePlayerStatus().

◆ m_PlayerSyncCreateShadow

ButtonWidget m_PlayerSyncCreateShadow
protected

Definition at line 227 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_PlayerSyncDelete

ButtonWidget m_PlayerSyncDelete
protected

Definition at line 228 of file PluginDayzPlayerDebug.c.

Referenced by CreateModuleWidgets().

◆ m_pPlayerShadow

Entity m_pPlayerShadow
protected

Definition at line 252 of file PluginDayzPlayerDebug.c.

Referenced by PlayerSyncCreate(), and PlayerSyncDelete().

◆ m_pPluginPlayerDebug

PluginDayzPlayerDebug m_pPluginPlayerDebug

Definition at line 83 of file PluginDayzPlayerDebug.c.

Referenced by OnChange(), and PluginDayzPlayerDebugUserData().

◆ m_pUIHandler

ref PluginDayzPlayerDebugUIHandler m_pUIHandler
protected

◆ m_TickTimer

ref Timer m_TickTimer
private

Definition at line 190 of file PluginDayzPlayerDebug.c.

◆ m_TypeNameMappings

ref map<int, string> m_TypeNameMappings = new map<int, string>()
protected

Definition at line 194 of file PluginDayzPlayerDebug.c.

Referenced by CreateTypeNameMapping(), and DisplayActions().

◆ m_Weapons

◆ TYPE_ALL

const int TYPE_ALL = -1
private

Definition at line 187 of file PluginDayzPlayerDebug.c.

◆ TYPE_FB_GESTURE_LOOPING

const int TYPE_FB_GESTURE_LOOPING = 6
private

Definition at line 183 of file PluginDayzPlayerDebug.c.

Referenced by CreateTypeNameMapping(), and RegisterAnimations().

◆ TYPE_FB_GESTURE_ONETIME

const int TYPE_FB_GESTURE_ONETIME = 7
private

Definition at line 184 of file PluginDayzPlayerDebug.c.

Referenced by CreateTypeNameMapping(), and RegisterAnimations().

◆ TYPE_FB_LOOPING

const int TYPE_FB_LOOPING = 2
private

Definition at line 178 of file PluginDayzPlayerDebug.c.

Referenced by CreateTypeNameMapping(), and RegisterAnimations().

◆ TYPE_FB_ONETIME

const int TYPE_FB_ONETIME = 3
private

Definition at line 179 of file PluginDayzPlayerDebug.c.

Referenced by CreateTypeNameMapping(), and RegisterAnimations().

◆ TYPE_FB_SUICIDE_LOOPING

const int TYPE_FB_SUICIDE_LOOPING = TYPE_FB_GESTURE_LOOPING
private

Definition at line 185 of file PluginDayzPlayerDebug.c.

Referenced by RegisterAnimations().

◆ TYPE_MOD_GESTURE_LOOPING

const int TYPE_MOD_GESTURE_LOOPING = 4
private

Definition at line 181 of file PluginDayzPlayerDebug.c.

Referenced by CreateTypeNameMapping(), and RegisterAnimations().

◆ TYPE_MOD_GESTURE_ONETIME

const int TYPE_MOD_GESTURE_ONETIME = 5
private

Definition at line 182 of file PluginDayzPlayerDebug.c.

Referenced by CreateTypeNameMapping(), and RegisterAnimations().

◆ TYPE_MOD_LOOPING

class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING = 0

◆ TYPE_MOD_ONETIME

const int TYPE_MOD_ONETIME = 1
private

Definition at line 177 of file PluginDayzPlayerDebug.c.

Referenced by CreateTypeNameMapping(), and RegisterAnimations().