DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл PluginDayzPlayerDebug.c

См. исходные тексты.

Структуры данных

class  PluginDayzPlayerDebugUserData
 
class  HumanCommandActionCallback
 

Функции

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 ()
 

Переменные

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
 

Функции

◆ Actions_DoCancel()

void Actions_DoCancel ( )
protected
806 {
809 if (!player)
810 {
811 return;
812 }
813
814 HumanCommandActionCallback clbk = player.GetCommand_Action();
815 if (!clbk)
816 {
817 clbk = player.GetCommandModifier_Action();
818 if (!clbk)
819 {
820 return;
821 }
822 }
823 clbk.Cancel();
824 }
PlayerBase GetPlayer()
Definition ModifierBase.c:51
Definition DayZPlayerImplement.c:111
Definition StateCB.c:2
Definition EntityAI.c:95
proto native CGame GetGame()

Перекрестные ссылки GetGame() и GetPlayer().

Используется в CommandHandler().

◆ Actions_DoInternalCommand()

void Actions_DoInternalCommand ( int pCommandId)
protected
783 {
786 if (!player)
787 {
788 return;
789 }
790
791 HumanCommandActionCallback clbk = player.GetCommand_Action();
792 if (!clbk)
793 {
794 clbk = player.GetCommandModifier_Action();
795 if (!clbk)
796 {
797 return;
798 }
799 }
800
801 clbk.InternalCommand(pCommandId);
802 }

Перекрестные ссылки GetGame() и GetPlayer().

Используется в CommandHandler().

◆ Actions_Start()

void Actions_Start ( )
protected

start action

744 {
745 int row = m_ActionsSelector.GetSelectedRow();
746 if (row == -1)
747 {
748 return;
749 }
750
753 if (!player)
754 {
755 return;
756 }
757
759 m_ActionsSelector.GetItemData(row, 0, userData);
760
762 PluginDayzPlayerActionCallback a;
763
764 if (userData.IsFullBody())
765 {
766 a = PluginDayzPlayerActionCallback.Cast( player.StartCommand_Action(userData.GetInt(), PluginDayzPlayerActionCallback, userData.GetStanceMask()) );
767 }
768 else
769 {
770 a = PluginDayzPlayerActionCallback.Cast( player.AddCommandModifier_Action(userData.GetInt(), PluginDayzPlayerActionCallback) );
771 }
772 m_ActionEventV.SetText("");
773 a.m_pStateWidget = m_ActionStateV;
774 a.m_pAnimEventWidget = m_ActionEventV;
775 a.m_EventsHistory = m_EventsHistory;
776
778 m_ActionStateV.SetText("Crash Test");
779 }
TextListboxWidget m_ActionsSelector
Definition PluginDayzPlayerDebug.c:220
TextWidget m_ActionEventV
Definition PluginDayzPlayerDebug.c:228
TextWidget m_ActionStateV
Definition PluginDayzPlayerDebug.c:227
TextListboxWidget m_EventsHistory
Definition PluginDayzPlayerDebug.c:254
Definition PluginDayzPlayerDebug.c:5
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки GetGame(), GetPlayer(), m_ActionEventV, m_ActionsSelector, m_ActionStateV, m_EventsHistory и Print().

Используется в CommandHandler().

◆ Actions_UpdateGlobals()

void Actions_UpdateGlobals ( DayZPlayer pPlayer)
protected
829 {
830 HumanCommandActionCallback clbk = pPlayer.GetCommandModifier_Action();
831 if (!clbk)
832 {
833 m_ActionsGlobalStatus.SetText("No Action");
834 }
835
836 m_ActionsGlobalStatus.SetText(clbk.ToString());
837 }
TextWidget m_ActionsGlobalStatus
Definition PluginDayzPlayerDebug.c:229

Перекрестные ссылки m_ActionsGlobalStatus.

Используется в UpdateCommandModifiers().

◆ CaptureFocus()

void CaptureFocus ( )
protected
364 {
365 if (!m_HasFocus)
366 {
367 GetGame().GetInput().ChangeGameFocus(1);
368 GetGame().GetUIManager().ShowUICursor(true);
369 m_HasFocus = true;
370 }
371 }
bool m_HasFocus
Definition PluginDayzPlayerDebug.c:203

Перекрестные ссылки GetGame() и m_HasFocus.

◆ CommandHandler()

void CommandHandler ( )
protected
1052 {
1053 if (m_CH_ActionStart)
1054 {
1055 Actions_Start();
1056 m_CH_ActionStart = false;
1057 }
1058
1059 if (m_CH_ActionCommand != -1000)
1060 {
1062 m_CH_ActionCommand = -1000;
1063 }
1064
1066 {
1068 m_CH_ActionCancel = false;
1069 }
1070
1071 if (m_Weapons)
1072 {
1073 m_Weapons.CommandHandler();
1074 }
1075
1076 if (m_Controls)
1077 {
1078 m_Controls.CommandHandler();
1079 }
1080
1081 if (m_OtherCmds)
1082 {
1083 m_OtherCmds.CommandHandler();
1084 }
1085 }
bool m_CH_ActionCancel
Definition PluginDayzPlayerDebug.c:265
ref PluginDayzPlayerDebug_Ctrl m_Controls
Definition PluginDayzPlayerDebug.c:269
bool m_CH_ActionStart
Definition PluginDayzPlayerDebug.c:263
ref PluginDayzPlayerDebug_OtherCmds m_OtherCmds
Definition PluginDayzPlayerDebug.c:270
void Actions_Start()
Definition PluginDayzPlayerDebug.c:743
ref PluginDayzPlayerDebug_Weapons m_Weapons
Definition PluginDayzPlayerDebug.c:268
void Actions_DoInternalCommand(int pCommandId)
Definition PluginDayzPlayerDebug.c:782
int m_CH_ActionCommand
Definition PluginDayzPlayerDebug.c:264
void Actions_DoCancel()
Definition PluginDayzPlayerDebug.c:805

Перекрестные ссылки Actions_DoCancel(), Actions_DoInternalCommand(), Actions_Start(), m_CH_ActionCancel, m_CH_ActionCommand, m_CH_ActionStart, m_Controls, m_OtherCmds и m_Weapons.

◆ CreateModuleWidgets()

void CreateModuleWidgets ( )
protected
449 {
450 if (!m_pUIHandler)
451 {
453 m_pUIHandler.m_pPluginPlayerDebug = this;
454 }
455
456 if (!m_MainWnd)
457 {
458 m_MainWnd = GetGame().GetWorkspace().CreateWidgets("gui/layouts/debug/day_z_playerdebug.layout");
459 m_MainWnd.SetHandler(m_pUIHandler);
460 m_MainWnd.Show(false);
461 }
462
463 m_Card0 = m_MainWnd.FindAnyWidget("Card0");
464 m_Card1 = m_MainWnd.FindAnyWidget("Card1");
465 m_Card2 = m_MainWnd.FindAnyWidget("Card2");
466 m_Card3 = m_MainWnd.FindAnyWidget("Card3");
467 m_Card4 = m_MainWnd.FindAnyWidget("Card4");
468 m_Card0Button = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("Card0Button") );
469 m_Card1Button = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("Card1Button") );
470 m_Card2Button = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("Card2Button") );
471 m_Card3Button = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("Card3Button") );
472 m_Card4Button = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("Card4Button") );
473
474
475 m_PlayerStatusV = EditBoxWidget.Cast( m_MainWnd.FindAnyWidget("PlayerStatusV") );
476 m_ActionsSelector = TextListboxWidget.Cast( m_MainWnd.FindAnyWidget("ActionsSelector") );
477 m_ActionsStart = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsStart") );
478 m_ActionsEnd = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsEnd") );
479 m_ActionsFinish = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsFinish") );
480 m_ActionsCancel = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsCancel") );
481 m_ActionsOTA = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsOTA") );
482 m_ActionsOTL = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsOTL") );
483 m_ActionStateV = TextWidget.Cast( m_MainWnd.FindAnyWidget("ActionStateV") );
484 m_ActionEventV = TextWidget.Cast( m_MainWnd.FindAnyWidget("ActionEventV") );
485 m_ActionsGlobalStatus = TextWidget.Cast( m_MainWnd.FindAnyWidget("ActionGlobalStatus") );
486
487
488 m_ActionsFilter = EditBoxWidget.Cast( m_MainWnd.FindAnyWidget("FilterField") );
489
490 m_PlayerSyncCreateShadow = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("PlayerSyncCreate") );
491 m_PlayerSyncDelete = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("PlayerSyncDelete") );
492 m_PlayerServerWalk = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("PlayerServerWalk") );
493
494 m_ItemAccClass = TextWidget.Cast( m_MainWnd.FindAnyWidget("ItemAccessClass") );
495 m_ItemAccSClass = TextWidget.Cast( m_MainWnd.FindAnyWidget("ItemAccessSClass") );
496 m_ItemAccInst = TextWidget.Cast( m_MainWnd.FindAnyWidget("ItemAccessInst") );
497
498 m_ActionTypeAll = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupALL") );
499 m_ActionTypeLA = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupLA") );
500 m_ActionTypeOA = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupOA") );
501 m_ActionTypeFLA = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupFLA") );
502 m_ActionTypeFOA = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupFOA") );
503 m_ActionTypeLG = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupLG") );
504 m_ActionTypeOG = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupOG") );
505 m_ActionTypeFLG = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupFLG") );
506 m_ActionTypeFOG = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ActionsGroupFOG") );
507
508
509 m_EventsHistory = TextListboxWidget.Cast( m_MainWnd.FindAnyWidget("EventHistory") );
510 m_ClearEventsButton = ButtonWidget.Cast( m_MainWnd.FindAnyWidget("ClearButton") );
511
512 DisplayActions(-1);
513
514 ShowCard(0);
515
516 // m_DebugAgentListWidget = m_DebugRootWidget.FindAnyWidget("w_Agents");
517 // m_DebugFloatsListWidget = m_DebugRootWidget.FindAnyWidget("w_Floats");
518 // m_DebugStringsListWidget = m_DebugRootWidget.FindAnyWidget("w_Strings");
519 // m_DebugFloatsProperListWidget = m_DebugRootWidget.FindAnyWidget("w_FloatsProper");
520 // m_ItemPreviewWidget = m_DebugRootWidget.FindAnyWidget("w_ItemPreview");
521 // m_ClassNameWidget = m_DebugRootWidget.FindAnyWidget("w_ClassName");
522 }
ButtonWidget m_ActionTypeFLA
Definition PluginDayzPlayerDebug.c:244
ButtonWidget m_PlayerSyncDelete
Definition PluginDayzPlayerDebug.c:234
void DisplayActions(int pType)
Definition PluginDayzPlayerDebug.c:691
ButtonWidget m_ActionsEnd
Definition PluginDayzPlayerDebug.c:222
ButtonWidget m_ActionTypeOA
Definition PluginDayzPlayerDebug.c:243
ButtonWidget m_ClearEventsButton
Definition PluginDayzPlayerDebug.c:252
ButtonWidget m_PlayerServerWalk
Definition PluginDayzPlayerDebug.c:235
Widget m_Card1
Definition PluginDayzPlayerDebug.c:208
ButtonWidget m_ActionTypeLA
Definition PluginDayzPlayerDebug.c:242
ButtonWidget m_ActionsOTA
Definition PluginDayzPlayerDebug.c:225
void ShowCard(int pCard)
Definition PluginDayzPlayerDebug.c:530
ButtonWidget m_ActionTypeFOA
Definition PluginDayzPlayerDebug.c:245
TextWidget m_ItemAccInst
Definition PluginDayzPlayerDebug.c:239
Widget m_MainWnd
Definition PluginDayzPlayerDebug.c:206
EditBoxWidget m_ActionsFilter
Definition PluginDayzPlayerDebug.c:231
TextWidget m_ItemAccSClass
Definition PluginDayzPlayerDebug.c:238
ref PluginDayzPlayerDebugUIHandler m_pUIHandler
Definition PluginDayzPlayerDebug.c:256
TextWidget m_ItemAccClass
Definition PluginDayzPlayerDebug.c:237
ButtonWidget m_Card2Button
Definition PluginDayzPlayerDebug.c:214
ButtonWidget m_ActionsFinish
Definition PluginDayzPlayerDebug.c:223
ButtonWidget m_ActionTypeFLG
Definition PluginDayzPlayerDebug.c:248
ButtonWidget m_ActionTypeFOG
Definition PluginDayzPlayerDebug.c:249
ButtonWidget m_ActionTypeLG
Definition PluginDayzPlayerDebug.c:246
ButtonWidget m_ActionsStart
Definition PluginDayzPlayerDebug.c:221
ButtonWidget m_Card1Button
Definition PluginDayzPlayerDebug.c:213
ButtonWidget m_Card0Button
Definition PluginDayzPlayerDebug.c:212
ButtonWidget m_ActionsOTL
Definition PluginDayzPlayerDebug.c:226
Widget m_Card3
Definition PluginDayzPlayerDebug.c:210
ButtonWidget m_ActionsCancel
Definition PluginDayzPlayerDebug.c:224
Widget m_Card4
Definition PluginDayzPlayerDebug.c:211
ButtonWidget m_ActionTypeAll
Definition PluginDayzPlayerDebug.c:241
Widget m_Card2
Definition PluginDayzPlayerDebug.c:209
ButtonWidget m_Card3Button
Definition PluginDayzPlayerDebug.c:215
ButtonWidget m_Card4Button
Definition PluginDayzPlayerDebug.c:216
ButtonWidget m_ActionTypeOG
Definition PluginDayzPlayerDebug.c:247
EditBoxWidget m_PlayerStatusV
Definition PluginDayzPlayerDebug.c:219
Widget m_Card0
Definition PluginDayzPlayerDebug.c:207
ButtonWidget m_PlayerSyncCreateShadow
Definition PluginDayzPlayerDebug.c:233
Definition EnWidgets.c:354
Definition EnWidgets.c:220

Перекрестные ссылки 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 и PluginBase::ShowCard().

◆ CreateTypeNameMapping()

void CreateTypeNameMapping ( )
protected
294 {
295 m_TypeNameMappings.Insert(TYPE_MOD_LOOPING, "MOD_LOOPING");
296 m_TypeNameMappings.Insert(TYPE_MOD_ONETIME, "MOD_ONETIME");
297 m_TypeNameMappings.Insert(TYPE_FB_LOOPING, "FB_LOOPING");
298 m_TypeNameMappings.Insert(TYPE_FB_ONETIME, "FB_ONETIME");
299 m_TypeNameMappings.Insert(TYPE_MOD_GESTURE_LOOPING, "MOD_GESTURE_LOOPING");
300 m_TypeNameMappings.Insert(TYPE_MOD_GESTURE_ONETIME, "MOD_GESTURE_ONETIME");
301 m_TypeNameMappings.Insert(TYPE_FB_GESTURE_LOOPING, "FB_GESTURE_LOOPING");
302 m_TypeNameMappings.Insert(TYPE_FB_GESTURE_ONETIME, "FB_GESTURE_ONETIME");
303 }
const int TYPE_MOD_ONETIME
Definition PluginDayzPlayerDebug.c:182
const int TYPE_MOD_GESTURE_ONETIME
Definition PluginDayzPlayerDebug.c:187
const int TYPE_FB_GESTURE_LOOPING
Definition PluginDayzPlayerDebug.c:188
const int TYPE_FB_ONETIME
Definition PluginDayzPlayerDebug.c:184
class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING
const int TYPE_FB_GESTURE_ONETIME
Definition PluginDayzPlayerDebug.c:189
ref map< int, string > m_TypeNameMappings
Definition PluginDayzPlayerDebug.c:200
const int TYPE_FB_LOOPING
Definition PluginDayzPlayerDebug.c:183
const int TYPE_MOD_GESTURE_LOOPING
Definition PluginDayzPlayerDebug.c:186

Перекрестные ссылки 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 и TYPE_MOD_ONETIME.

Используется в PluginDayzPlayerDebug().

◆ DbgShowBoneName()

void DbgShowBoneName ( DayZPlayer pPlayer)
protected
640 {
641 int boneIndex = pPlayer.GetBoneIndexByName("Head");
642
643 // vector pos = pPlayer.GetBonePositionMS(boneIndex);
644 vector tm[4];
645
646 pPlayer.GetBoneTransformMS(boneIndex, tm);
647
648
649
650 string a = "Bone index:";
651 a += boneIndex.ToString();
652 a += ",";
653 a += tm.ToString();
654 Print(a);
655 }
Definition EnConvert.c:106

Перекрестные ссылки Print().

◆ DestroyModuleWidgets()

void DestroyModuleWidgets ( )
protected
525 {
526 delete m_MainWnd;
527 }

Перекрестные ссылки PluginBase::m_MainWnd.

◆ DisplayActions()

void DisplayActions ( int pType)
protected
692 {
695 m_ActionsSelector.ClearItems();
696 string filterTextLower = m_ActionsFilter.GetText();
697 filterTextLower.ToLower();
698
700 filterTextLower.Split(" ", filterTokens);
701
703 {
704 string nameLower = dta.GetName();
705 nameLower.ToLower();
706 bool add = false;
707 if (pType == -1 || pType == dta.GetCategory())
708 {
709 if (filterTextLower)
710 {
711 foreach (string token:filterTokens)
712 {
713 if (nameLower.Contains(token))
714 add = true;
715 }
716 }
717 else
718 add = true;
719 }
720 if (add)
721 sortedNames.Insert(dta.GetNameUnique());
722 }
723 sortedNames.Sort();
724 foreach (int i, string sortedNameUnique:sortedNames)
725 {
727 string sortedName = data.GetName();
728 string typeName;
729
730 if (m_TypeNameMappings.Contains(data.GetCategory()))
731 {
732 typeName = m_TypeNameMappings.Get(data.GetCategory());
733 }
734
735 m_ActionsSelector.AddItem(sortedName, data, 0,i);
736 if (typeName)
737 m_ActionsSelector.SetItem(i, typeName, null, 1);
738 }
739 }
ref map< string, ref PluginDayzPlayerDebugUserData > m_AnimationListMappings
Definition PluginDayzPlayerDebug.c:199
int m_CurrentType
Definition PluginDayzPlayerDebug.c:260
ref array< ref PluginDayzPlayerDebugUserData > m_AnimationList
Definition PluginDayzPlayerDebug.c:198
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Definition IsBoxCollidingGeometryProxyClasses.c:28
array< string > TStringArray
Definition EnScript.c:685

Перекрестные ссылки m_ActionsFilter, m_ActionsSelector, m_AnimationList, m_AnimationListMappings, m_CurrentType и m_TypeNameMappings.

Используется в CreateModuleWidgets().

◆ GetCategory()

int GetCategory ( )

Используется в OnErrorThrown().

◆ GetInt()

◆ GetNameUnique()

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

◆ GetStanceMask()

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

Перекрестные ссылки GetGame(), x и y.

Используется в ActionBase::GetStanceMaskEx(), AnimatedActionBase::GetStanceMaskEx() и ActionBase::SetupAction().

◆ Hide()

void Hide ( )
protected
355 {
356 ShowWidgets(false);
357 m_IsActive = false;
358
360 }
void ShowWidgets(bool show)
Definition PluginDayzPlayerDebug.c:332
ref Timer m_TickTimer
Definition PluginDayzPlayerDebug.c:196
bool m_IsActive
Definition PluginDayzPlayerDebug.c:202

Перекрестные ссылки m_IsActive, m_TickTimer и PluginBase::ShowWidgets().

◆ IsActive()

bool IsActive ( )
protected
328 {
329 return m_IsActive;
330 }

Перекрестные ссылки PluginBase::m_IsActive.

◆ IsFullBody()

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

Используется в ActionBase::IsFullBodyEx().

◆ IsWeaponChange()

bool IsWeaponChange ( out string pNewWeapon,
out int pHideSlot,
out int pShowSlot )
protected
1038 {
1039 if (m_Weapons)
1040 {
1041 m_Weapons.IsWeaponChange(pNewWeapon, pHideSlot, pShowSlot);
1042 }
1043
1044 return false;
1045 }

Перекрестные ссылки m_Weapons.

◆ OnChange()

override bool OnChange ( Widget w,
int x,
int y,
bool finished )
63 {
64 super.OnChange(w, x, y, finished);
65 return m_pPluginPlayerDebug.OnChange(w, x, y, finished);
66 }
PluginDayzPlayerDebug m_pPluginPlayerDebug
Definition PluginDayzPlayerDebug.c:83

Перекрестные ссылки m_pPluginPlayerDebug, x и y.

◆ OnClick()

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

buttons clicks

send rcp

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 )
69 {
70 super.OnMouseEnter(w,x,y);
71 GetGame().GetMission().AddActiveInputExcludes({"menu"});
72 return true;
73
74 }

Перекрестные ссылки x и y.

◆ OnMouseLeave()

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

◆ PlayerSyncCreate()

void PlayerSyncCreate ( )
protected

844 {
846
847 vector item_position = GetGame().GetPlayer().GetPosition() + ( GetGame().GetPlayer().GetDirection() * 2.0);
848
849 m_pPlayerShadow = Entity.Cast( GetGame().CreateObject("SurvivorM_Mirek", item_position, false, false) );
850
851 DayZPlayer pl = DayZPlayer.Cast( GetGame().GetPlayer() );
852 pl.DebugSyncShadowSetup( DayZPlayer.Cast( m_pPlayerShadow ) );
853 }
Entity m_pPlayerShadow
Definition PluginDayzPlayerDebug.c:258
void PlayerSyncDelete()
Definition PluginDayzPlayerDebug.c:855
Definition Camera.c:2

Перекрестные ссылки GetGame(), m_pPlayerShadow и PlayerSyncDelete().

◆ PlayerSyncDelete()

void PlayerSyncDelete ( )
protected
856 {
857 if (m_pPlayerShadow)
858 {
859 GetGame().ObjectDelete(m_pPlayerShadow);
861 }
862
864 if (pl)
865 {
866 pl.DebugSyncShadowSetup(NULL);
867 }
868
869 }

Перекрестные ссылки GetGame(), GetPlayer() и m_pPlayerShadow.

Используется в PlayerSyncCreate() и ~PluginDayzPlayerDebug().

◆ PluginDayzPlayerDebug()

void PluginDayzPlayerDebug ( )
protected
276 {
279
280
281 #ifndef NO_GUI
286 #endif
287
288
289 //m_TypeNameMappings.Insert(TYPE_FB_SUICIDE_LOOPING, "TYPE_FB_SUICIDE_LOOPING");
290
291 }
void CreateTypeNameMapping()
Definition PluginDayzPlayerDebug.c:293
void RegisterAnimations()
Definition PluginDayzPlayerDebug.c:1094
void CreateModuleWidgets()
Definition PluginDayzPlayerDebug.c:448
Definition PluginDayzPlayerDebug_Ctrl.c:7
Definition PluginDayzPlayerDebug_OtherCmds.c:6
Definition PluginDayzPlayerDebug_Weapons.c:53

Перекрестные ссылки PluginBase::CreateModuleWidgets(), CreateTypeNameMapping(), m_Card1, m_Card2, m_Card3, m_Controls, m_OtherCmds, m_Weapons и RegisterAnimations().

Используется в DayZPlayer::CommandHandlerDebug().

◆ PluginDayzPlayerDebugUserData()

void PluginDayzPlayerDebugUserData ( string name,
int category,
int pUserData,
bool pFullBody,
int pStanceMask = -1 )
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)
Definition PluginDayzPlayerDebug.c:62
Definition EnWidgets.c:190

Перекрестные ссылки m_pPluginPlayerDebug, x и y.

Используется в RegisterAnimation().

◆ RegisterAnimation()

void RegisterAnimation ( string name,
int category,
int pUserData,
bool pFullBody,
int pStanceMask = -1 )
protected
1088 {
1090 m_AnimationList.Insert(data);
1091 m_AnimationListMappings.Insert(data.GetNameUnique(), data);
1092 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
void PluginDayzPlayerDebugUserData(string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)
Definition PluginDayzPlayerDebug.c:57

Перекрестные ссылки m_AnimationList, m_AnimationListMappings, name и PluginDayzPlayerDebugUserData().

Используется в RegisterAnimations().

◆ RegisterAnimations()

void RegisterAnimations ( )
protected

one time

fullbody looping

one time


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

looping

one time

fullbody looping

fullbody one time


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

fullbody looping

1095 {
1096 RegisterAnimation("CLEAN HANDS BOTTLE", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CLEANHANDSBOTTLE, false);
1097 RegisterAnimation("DRINK", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_DRINK, false);
1098 RegisterAnimation("EAT", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_EAT, false);
1099 RegisterAnimation("EMPTY VESSEL", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_EMPTY_VESSEL, false);
1100 RegisterAnimation("CATCH RAIN", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CATCHRAIN, false);
1101 RegisterAnimation("VIEW COMPASS", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_VIEWCOMPASS, false);
1102 RegisterAnimation("ITEM TUNE", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_ITEM_TUNE, false);
1103 RegisterAnimation("GIVE L ITEM", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_GIVEL, false);
1104 RegisterAnimation("GIVE R ITEM", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_GIVER, false);
1105 RegisterAnimation("SHAVE", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_SHAVE, false);
1106 RegisterAnimation("FILL MAG", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_FILLMAG, false);
1107 RegisterAnimation("EMPTY MAG", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_EMPTYMAG, false);
1108 RegisterAnimation("OPEN ITEM", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_OPENITEM, false);
1109 RegisterAnimation("TAKE TEMP SELF", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_TAKETEMPSELF, false);
1110 RegisterAnimation("VIEW MAP", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_VIEWMAP, false);
1111 RegisterAnimation("RAISE ITEM", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_RAISEITEM, false);
1112 RegisterAnimation("SEARCH INVENTORY", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_SEARCHINVENTORY, false);
1113 RegisterAnimation("CRAFTING UPPDERBODY", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CRAFTING, false);
1114 RegisterAnimation("RESTRAINED STRUGGLE", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_RESTRAINEDSTRUGGLE, false);
1115 RegisterAnimation("COVER HEAD SELF", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_COVERHEAD_SELF, false);
1116 RegisterAnimation("COVER HEAD TARGET", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_COVERHEAD_TARGET, false);
1117 RegisterAnimation("SET ALARM CLOCK", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_SET_ALARM, false);
1118 RegisterAnimation("ENGINE START", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_STARTENGINE, false);
1119 RegisterAnimation("TOOT HORN", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_TOOTHORN, false);
1120 RegisterAnimation("ENGINE STOP", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_STOPENGINE, false);
1121 RegisterAnimation("SHIFT GEAR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_SHIFTGEAR, false);
1122 RegisterAnimation("TURN ON/OFF LIGHTS", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_HEADLIGHT, false);
1123 RegisterAnimation("DRIVER OPEN DOOR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_DRIVER_DOOR_OPEN, false);
1124 RegisterAnimation("DRIVER CLOSE DOOR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_DRIVER_DOOR_CLOSE, false);
1125 RegisterAnimation("CODRIVER OPEN DOOR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CODRIVER_DOOROPEN, false);
1126 RegisterAnimation("CODRIVER CLOSE DOOR", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_CODRIVER_DOORCLOSE, false);
1127 RegisterAnimation("BLOODTEST", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_BLOODTEST, false);
1128 RegisterAnimation("BLOODTESTOTHER", TYPE_MOD_LOOPING, DayZPlayerConstants.CMD_ACTIONMOD_BLOODTESTOTHER, false);
1130 RegisterAnimation("PICK UP HANDS", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_PICKUP_HANDS, false);
1131 RegisterAnimation("PICK UP INVENTORY", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_PICKUP_INVENTORY, false);
1132 RegisterAnimation("LICK BATTERY", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_LICKBATTERY, false);
1133 RegisterAnimation("LIGHT FLARE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_LIGHTFLARE, false);
1134 RegisterAnimation("LITCHEM LIGHT", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_LITCHEMLIGHT, false);
1135 RegisterAnimation("UNPIN GRENAGE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_UNPINGRENAGE, false);
1136 RegisterAnimation("OPEN DOOR FW", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_OPENDOORFW, false);
1137 RegisterAnimation("OPEN LID", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_OPENLID, false);
1138 RegisterAnimation("CLOSE LID", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_CLOSELID, false);
1139 RegisterAnimation("RADIO ON", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ITEM_ON, false);
1140 RegisterAnimation("RADIO OFF", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ITEM_OFF, false);
1141 RegisterAnimation("BATON EXTEND", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_BATONEXTEND, false);
1142 RegisterAnimation("BATON RETRACT", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_BATONRETRACT, false);
1143 RegisterAnimation("UNLOCK HANDCUFF TARGET", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_UNLOCKHANDCUFFTARGET, false);
1144 RegisterAnimation("FISHINGROD EXTEND", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_FISHINGRODEXTEND, false);
1145 RegisterAnimation("FISHINGROD RETRACT", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_FISHINGRODRETRACT, false);
1146 RegisterAnimation("OPEN ITEM ONCE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_OPENITEM_ONCE, false);
1147 RegisterAnimation("CLOSE ITEM ONCE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_CLOSEITEM_ONCE, false);
1148 RegisterAnimation("ATTACH SCOPE", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ATTACHSCOPE, false);
1149 RegisterAnimation("ATTACH BARREL", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ATTACHBARREL, false);
1150 RegisterAnimation("EMPTY SEEDS PACK", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_EMPTYSEEDSPACK, false);
1151 RegisterAnimation("INTERACT", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_INTERACTONCE, false);
1152 RegisterAnimation("ATTACH ITEM", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_ATTACHITEM, false);
1153 RegisterAnimation("STOP ALARM CLOCK", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_STOP_ALARM, false);
1154 RegisterAnimation("PRESS TRIGGER", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_PRESS_TRIGGER, false);
1155 RegisterAnimation("DROP ITEM HANDS", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_DROPITEM_HANDS, false);
1156 RegisterAnimation("DROP ITEM INVENTORY", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_DROPITEM_INVENTORY, false);
1157 RegisterAnimation("EAT PILL", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_EAT_PILL, false);
1158 RegisterAnimation("EAT TABLET", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_EAT_TABLET, false);
1159 RegisterAnimation("HEATPACK", TYPE_MOD_ONETIME, DayZPlayerConstants.CMD_ACTIONMOD_HEATPACK, false);
1161 RegisterAnimation("DRINK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DRINK, true, DayZPlayerConstants.STANCEMASK_PRONE);
1162 RegisterAnimation("EAT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_EAT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1163 RegisterAnimation("CATCH RAIN", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CATCHRAIN, true, DayZPlayerConstants.STANCEMASK_PRONE);
1164 RegisterAnimation("WALKIETALKIE TUNE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_ITEM_TUNE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1165 RegisterAnimation("GIVE L ITEM", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_GIVEL, true, DayZPlayerConstants.STANCEMASK_PRONE);
1166 RegisterAnimation("GIVE R ITEM", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_GIVER, true, DayZPlayerConstants.STANCEMASK_PRONE);
1167 RegisterAnimation("FILL MAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FILLMAG, true, DayZPlayerConstants.STANCEMASK_PRONE);
1168 RegisterAnimation("EMPTY MAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_EMPTYMAG, true, DayZPlayerConstants.STANCEMASK_PRONE);
1169 RegisterAnimation("DRINK POND", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DRINKPOND, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1170 RegisterAnimation("DRINK WELL", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DRINKWELL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1171 RegisterAnimation("FILL BOTTLE WELL", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FILLBOTTLEWELL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1172 RegisterAnimation("FIRE ESTINGUISHER", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FIREESTINGUISHER, true, DayZPlayerConstants.STANCEMASK_ERECT);
1173 RegisterAnimation("FLAME REPAIR", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FLAME_REPAIR, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1174 RegisterAnimation("WRING CLOTH", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_WRING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1175 RegisterAnimation("FISHING", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FISHING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1176 RegisterAnimation("CPR", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CPR, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1177 RegisterAnimation("BANDAGE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_BANDAGE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1178 RegisterAnimation("CRAFTING", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CRAFTING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1179 RegisterAnimation("INTERACT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_INTERACT, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1180 RegisterAnimation("FORCE FEED TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FORCEFEED, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1181 RegisterAnimation("BANDAGE TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_BANDAGETARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1182 RegisterAnimation("SPRAY PLANT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SPRAYPLANT, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1183 RegisterAnimation("START FIRE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_STARTFIRE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1184 RegisterAnimation("ANIMAL SKINNING", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_ANIMALSKINNING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1185 RegisterAnimation("WASH HANDS WELL", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_WASHHANDSWELL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1186 RegisterAnimation("WASH HANDS POND", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_WASHHANDSPOND, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1187 RegisterAnimation("SALINE BLOODBAG TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SALINEBLOODBAGTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1188 RegisterAnimation("SALINE BLOOD BAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SALINEBLOODBAG, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1189 RegisterAnimation("STITCH UP SELF", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_STITCHUPSELF, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1190 RegisterAnimation("VOMIT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VOMIT, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1191 RegisterAnimation("UNRESTRAINT TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_UNRESTRAINTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1192 RegisterAnimation("RESTRAIN TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RESTRAINTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1193 RegisterAnimation("CHECK PULSE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CHECKPULSE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1194 RegisterAnimation("CLEAN WOUNDS TARGET", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CLEANWOUNDSTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1195 RegisterAnimation("COLLECT BLOOD SELF", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_COLLECTBLOODSELF, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1196 RegisterAnimation("EMPTY VESSEL", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_EMPTY_VESSEL, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1197 RegisterAnimation("OPEN ITEM", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_OPENITEM, true, DayZPlayerConstants.STANCEMASK_PRONE);
1198 RegisterAnimation("HACK BUSH", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_HACKBUSH, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1199 RegisterAnimation("HACK TREE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_HACKTREE, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1200 RegisterAnimation("TAKE TEMP SELF", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_TAKETEMPSELF, true, DayZPlayerConstants.STANCEMASK_PRONE);
1201 RegisterAnimation("DIG HOLE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DIG, true, DayZPlayerConstants.STANCEMASK_ERECT);
1202 RegisterAnimation("DIG UP CACHE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DIGUPCACHE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1203 RegisterAnimation("DIG MANIPULATE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DIGMANIPULATE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1204 RegisterAnimation("DEPLOY HEAVY", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DEPLOY_HEAVY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1205 RegisterAnimation("DEPLOY 1HD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DEPLOY_1HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1206 RegisterAnimation("DEPLOY 2HD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DEPLOY_2HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1207 RegisterAnimation("BLOW FIREPLACE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_BLOWFIREPLACE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1208 RegisterAnimation("VIEW MAP", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VIEWMAP, true, DayZPlayerConstants.STANCEMASK_PRONE);
1209 RegisterAnimation("VIEW COMPASS", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VIEWCOMPASS, true, DayZPlayerConstants.STANCEMASK_PRONE);
1210 RegisterAnimation("FILL BOTTLE POND", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FILLBOTTLEPOND, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1211 RegisterAnimation("PLACING HEAVY", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PLACING_HEAVY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1212 RegisterAnimation("PLACING 1HD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PLACING_1HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1213 RegisterAnimation("PLACING 2HD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PLACING_2HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1214 RegisterAnimation("CUT BARK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CUTBARK, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1215 RegisterAnimation("VIEW NOTE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VIEWNOTE, true, DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1216 RegisterAnimation("SEARCH INVENTORY", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SEARCHINVENTORY, true, DayZPlayerConstants.STANCEMASK_PRONE);
1217 RegisterAnimation("LOOK OPTICS", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_LOOKOPTICS, true, DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1218 RegisterAnimation("MINE ROCK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_MINEROCK, true, DayZPlayerConstants.STANCEMASK_ERECT);
1219 RegisterAnimation("RAISE ITEM", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RAISEITEM, true, DayZPlayerConstants.STANCEMASK_PRONE);
1220 RegisterAnimation("RESTRAINED STRUGGLE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RESTRAINEDSTRUGGLE, true, DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1221 RegisterAnimation("RESTRAIN SELF", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RESTRAINSELF, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1222 RegisterAnimation("ASSEMBLE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_ASSEMBLE, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1223 RegisterAnimation("DISASSEMBLE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DISASSEMBLE, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1224 RegisterAnimation("RAISE FLAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_RAISE_FLAG, true, DayZPlayerConstants.STANCEMASK_ERECT);
1225 RegisterAnimation("LOWER FLAG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_LOWER_FLAG, true, DayZPlayerConstants.STANCEMASK_ERECT);
1226 RegisterAnimation("SET ALARM CLOCK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SET_ALARM, true, DayZPlayerConstants.STANCEMASK_PRONE);
1227 RegisterAnimation("SHOVEL DIG", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SHOVEL_DIG, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1228 RegisterAnimation("VEHICLE_PUSH", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_VEHICLE_PUSH, true, DayZPlayerConstants.STANCEMASK_ERECT);
1229 RegisterAnimation("PATCHING_TIRE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PATCHING_TIRE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1230 RegisterAnimation("PATCHING_DUCTTAPE", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PATCHING_DUCTTAPE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1231 RegisterAnimation("PATCHING_SEWING", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PATCHING_SEWING, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1232 RegisterAnimation("PATCHING_LEATHER_SEWING_KIT", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_PATCHING_LEATHER_SEWING_KIT, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1233 RegisterAnimation("SPLITTING FIREWOOD", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_SPLITTING_FIREWOOD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1234 RegisterAnimation("BREAKING STICK", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_BREAKING_STICK, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1235 RegisterAnimation("CLEANING_WEAPON", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_CLEANING_WEAPON, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1236 RegisterAnimation("EATING_SNOW", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_EATING_SNOW, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1237 RegisterAnimation("FILLING_CONTAINER_SNOW", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_FILLING_CONTAINER_SNOW, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1238 RegisterAnimation("DIGGING_WORMS", TYPE_FB_LOOPING, DayZPlayerConstants.CMD_ACTIONFB_DIGGIN_WORMS, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1239
1240
1242 RegisterAnimation("PICK UP HANDS", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_PICKUP_HANDS, true, DayZPlayerConstants.STANCEMASK_PRONE);
1243 RegisterAnimation("PICK UP INVENTORY", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_PICKUP_INVENTORY, true, DayZPlayerConstants.STANCEMASK_PRONE);
1244 RegisterAnimation("LICK BATTERY", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_LICKBATTERY, true, DayZPlayerConstants.STANCEMASK_PRONE);
1245 RegisterAnimation("LIGHT FLARE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_LIGHTFLARE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1246 RegisterAnimation("LITCHEM LIGHT", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_LITCHEMLIGHT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1247 RegisterAnimation("UNPIN GRENAGE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_UNPINGRENAGE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1248 RegisterAnimation("RADIO ON", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_ITEM_ON, true, DayZPlayerConstants.STANCEMASK_PRONE);
1249 RegisterAnimation("RADIO OFF", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_ITEM_OFF, true, DayZPlayerConstants.STANCEMASK_PRONE);
1250 RegisterAnimation("HANDCUFF TARGET", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_HANDCUFFTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1251 RegisterAnimation("MORPHINE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_MORPHINE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1252 RegisterAnimation("INJECTION", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_INJECTION, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1253 RegisterAnimation("INJECTION TARGET", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_INJECTIONTARGET, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1254 RegisterAnimation("DRINK SIP", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_DRINKSIP, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1255 RegisterAnimation("CLEAN HANDS BOTTLE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_CLEANHANDSBOTTLE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1256 RegisterAnimation("OPEN ITEM ONCE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_OPENITEM_ONCE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1257 RegisterAnimation("POKE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_POKE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1258 RegisterAnimation("ATTACH SCOPE", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_ATTACHSCOPE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1259 RegisterAnimation("ATTACH BARREL", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_ATTACHBARREL, true, DayZPlayerConstants.STANCEMASK_PRONE);
1260 RegisterAnimation("RESTRAIN", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_RESTRAIN, true, DayZPlayerConstants.STANCEMASK_PRONE | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1261 RegisterAnimation("PICK UP HEAVY", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_PICKUP_HEAVY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1262 RegisterAnimation("STOP ALARM CLOCK", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_STOP_ALARM, true, DayZPlayerConstants.STANCEMASK_PRONE);
1263 RegisterAnimation("PRESS TRIGGER", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_PRESS_TRIGGER, true, DayZPlayerConstants.STANCEMASK_PRONE);
1264 RegisterAnimation("EAT PILL", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_EAT_PILL, true, DayZPlayerConstants.STANCEMASK_PRONE);
1265 RegisterAnimation("EAT TABLET", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_EAT_TABLET, true, DayZPlayerConstants.STANCEMASK_PRONE);
1266 RegisterAnimation("HEATPACK", TYPE_FB_ONETIME, DayZPlayerConstants.CMD_ACTIONFB_HEATPACK, true, DayZPlayerConstants.STANCEMASK_PRONE);
1271 RegisterAnimation("GREETING", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_GREETING, false);
1272 RegisterAnimation("POINT", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_POINT, false);
1273 RegisterAnimation("THUMB UP", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_THUMB, false);
1274 RegisterAnimation("THUMB DOWN", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_THUMB, false);
1275 RegisterAnimation("SILENCE", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_SILENCE, false);
1276 RegisterAnimation("TAUNT", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_TAUNT, false);
1277 RegisterAnimation("TIME OUT", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_TIMEOUT, false);
1278 RegisterAnimation("HEART", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_HEART, false);
1279 RegisterAnimation("FACEPALM", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_FACEPALM, false);
1280 RegisterAnimation("WATCHING", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_WATCHING, false);
1281 RegisterAnimation("HOLD", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_HOLD, false);
1282 RegisterAnimation("LISTENING", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_LISTENING, false);
1283 RegisterAnimation("POINT AT SELF", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_POINTSELF, false);
1284 RegisterAnimation("LOOK AT ME", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_LOOKATME, false);
1285 RegisterAnimation("OKAY", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_OKAY, false);
1286 RegisterAnimation("RPS", TYPE_MOD_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREMOD_RPS, false);
1288 RegisterAnimation("THROAT", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_THROAT, false);
1289 RegisterAnimation("CLAP", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_CLAP, false);
1290 RegisterAnimation("DABBING", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_DABBING, false);
1291 RegisterAnimation("MOVE", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_MOVE, false);
1292 RegisterAnimation("DOWN", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_DOWN, false);
1293 RegisterAnimation("COME", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_COME, false);
1294 RegisterAnimation("TAUNT KISS", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_TAUNTKISS, false);
1295 RegisterAnimation("TAUNT ELBOW", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_TAUNTELBOW, false);
1296 RegisterAnimation("TAUNT THINK", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_TAUNTTHINK, false);
1297 RegisterAnimation("NOD HEAD", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_NODHEAD, false);
1298 RegisterAnimation("SHAKE HEAD", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_SHAKEHEAD, false);
1299 RegisterAnimation("SHRUG", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_SHRUG, false);
1300 RegisterAnimation("SURRENDER", TYPE_MOD_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREMOD_SURRENDER, false);
1302 RegisterAnimation("GREETING", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_GREETING, true, DayZPlayerConstants.STANCEMASK_PRONE);
1303 RegisterAnimation("POINT", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_POINT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1304 RegisterAnimation("THUMBUP", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_THUMB, true, DayZPlayerConstants.STANCEMASK_PRONE);
1305 RegisterAnimation("THUMBDOWN", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_THUMB, true, DayZPlayerConstants.STANCEMASK_PRONE);
1306 RegisterAnimation("SILENCE", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SILENCE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1307 RegisterAnimation("TAUNT", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_TAUNT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1308 RegisterAnimation("TIMEOUT", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_TIMEOUT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1309 RegisterAnimation("HEART", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_HEART, true, DayZPlayerConstants.STANCEMASK_PRONE);
1310 RegisterAnimation("WATCHING", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_WATCHING, true, DayZPlayerConstants.STANCEMASK_PRONE);
1311 RegisterAnimation("HOLD", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_HOLD, true, DayZPlayerConstants.STANCEMASK_PRONE);
1312 RegisterAnimation("LISTENING", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_LISTENING, true, DayZPlayerConstants.STANCEMASK_PRONE);
1313 RegisterAnimation("POINTSELF", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_POINTSELF, true, DayZPlayerConstants.STANCEMASK_PRONE);
1314 RegisterAnimation("LOOKATME", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_LOOKATME, true, DayZPlayerConstants.STANCEMASK_PRONE);
1315 RegisterAnimation("OKAY", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_OKAY, true, DayZPlayerConstants.STANCEMASK_PRONE);
1316 RegisterAnimation("SALUTE", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SALUTE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1317 RegisterAnimation("CAMPFIRE", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_CAMPFIRE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1318 RegisterAnimation("LYINGDOWN", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_LYINGDOWN, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1319 RegisterAnimation("SOS", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SOS, true, DayZPlayerConstants.STANCEMASK_ERECT);
1320 RegisterAnimation("SITA", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SITA, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1321 RegisterAnimation("SITB", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SITB, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1322 RegisterAnimation("DABBING", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_DABBING, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT);
1323 RegisterAnimation("SURRENDER", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_SURRENDER, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_PRONE);
1324 RegisterAnimation("KNEEL", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_GESTUREFB_KNEEL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1325 RegisterAnimation("TRAILER WAKE UP", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_WAKE_UP, true, DayZPlayerConstants.STANCEMASK_ERECT);
1326 RegisterAnimation("TRAILER DEAD BODY", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_DEAD_BODY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1327 RegisterAnimation("TRAILER WALKIE TALKIE", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_WALKIE_TALKIE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1328 RegisterAnimation("TRAILER WOUNDED", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_WOUNDED, true, DayZPlayerConstants.STANCEMASK_ERECT);
1329 RegisterAnimation("TRAILER WALK AWAY", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_WALK_AWAY, true, DayZPlayerConstants.STANCEMASK_ERECT);
1330 RegisterAnimation("TRAILER DEAD DEAD", TYPE_FB_GESTURE_LOOPING, DayZPlayerConstants.CMD_TRAILER_DEAD, true, DayZPlayerConstants.STANCEMASK_ERECT);
1332 RegisterAnimation("THROAT", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_THROAT, true, DayZPlayerConstants.STANCEMASK_PRONE);
1333 RegisterAnimation("MOVE", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_MOVE, true, DayZPlayerConstants.STANCEMASK_PRONE);
1334 RegisterAnimation("DOWN", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_DOWN, true, DayZPlayerConstants.STANCEMASK_PRONE);
1335 RegisterAnimation("COME", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_COME, true, DayZPlayerConstants.STANCEMASK_PRONE);
1336 RegisterAnimation("TAUNT KISS", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_TAUNTKISS, true, DayZPlayerConstants.STANCEMASK_PRONE);
1337 RegisterAnimation("TAUNT THINK", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_TAUNTTHINK, true, DayZPlayerConstants.STANCEMASK_PRONE);
1338 RegisterAnimation("DANCE", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_DANCE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1339 RegisterAnimation("NOD HEAD", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_NODHEAD, true, DayZPlayerConstants.STANCEMASK_PRONE);
1340 RegisterAnimation("SHAKE HEAD", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_SHAKEHEAD, true, DayZPlayerConstants.STANCEMASK_PRONE);
1341 RegisterAnimation("SHRUG", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_SHRUG, true, DayZPlayerConstants.STANCEMASK_PRONE);
1342 RegisterAnimation("SURRENDER", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_GESTUREFB_SURRENDER, true, DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_PRONE);
1343 RegisterAnimation("TRAILER MASK", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_TRAILER_MASK, true, DayZPlayerConstants.STANCEMASK_ERECT);
1344 RegisterAnimation("TRAILER MASK_02", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_TRAILER_MASK_02, true, DayZPlayerConstants.STANCEMASK_ERECT);
1345 RegisterAnimation("TRAILER MASK_CHAINS", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_TRAILER_MASK_CHAINS, true, DayZPlayerConstants.STANCEMASK_ERECT);
1346 RegisterAnimation("TRAILER MASK_DALLAS", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_TRAILER_MASK_DALLAS, true, DayZPlayerConstants.STANCEMASK_ERECT);
1347 RegisterAnimation("TRAILER MASK_HOXTON", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_TRAILER_MASK_HOXTON, true, DayZPlayerConstants.STANCEMASK_ERECT);
1348 RegisterAnimation("TRAILER MASK_WOLF", TYPE_FB_GESTURE_ONETIME, DayZPlayerConstants.CMD_TRAILER_MASK_WOLF, true, DayZPlayerConstants.STANCEMASK_ERECT);
1349
1354 RegisterAnimation("1HD", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_1HD, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1355 RegisterAnimation("FIREAXE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_FIREAXE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1356 RegisterAnimation("PITCHFORK", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_PITCHFORK, true, DayZPlayerConstants.STANCEMASK_ERECT);
1357 RegisterAnimation("PISTOL", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_PISTOL, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1358 RegisterAnimation("RIFLE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_RIFLE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1359 RegisterAnimation("SWORD", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_SWORD, true, DayZPlayerConstants.STANCEMASK_ERECT);
1360 RegisterAnimation("UNARMED", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_UNARMED, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1361 RegisterAnimation("WOODAXE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_WOODAXE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1362 RegisterAnimation("SPEAR", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_SPEAR, true, DayZPlayerConstants.STANCEMASK_ERECT);
1363 RegisterAnimation("SICKLE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_SICKLE, true, DayZPlayerConstants.STANCEMASK_CROUCH);
1364 RegisterAnimation("HOE", TYPE_FB_SUICIDE_LOOPING, DayZPlayerConstants.CMD_SUICIDEFB_HOE, true, DayZPlayerConstants.STANCEMASK_ERECT);
1365 }
const int TYPE_FB_SUICIDE_LOOPING
Definition PluginDayzPlayerDebug.c:190
void RegisterAnimation(string name, int category, int pUserData, bool pFullBody, int pStanceMask=-1)
Definition PluginDayzPlayerDebug.c:1087
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602

Перекрестные ссылки 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 и TYPE_MOD_ONETIME.

Используется в PluginDayzPlayerDebug().

◆ RegisterDebugItem()

void RegisterDebugItem ( ItemBase item,
PlayerBase player )
protected
323 {
324 }

◆ ReleaseFocus()

void ReleaseFocus ( )
protected
375 {
376 if (m_HasFocus)
377 {
378 GetGame().GetInput().ChangeGameFocus(-1);
379 GetGame().GetUIManager().ShowUICursor(false);
380 m_HasFocus = false;
381 }
382 }

Перекрестные ссылки GetGame() и m_HasFocus.

Используется в ToggleDebugWindowEvent().

◆ Show()

void Show ( )
protected
342 {
343 ShowWidgets(true);
344 m_IsActive = true;
345
346 if (!m_TickTimer)
347 {
348 m_TickTimer = new Timer();
349 m_TickTimer.Run(0.1, this, "Tick", NULL, true);
350 }
351 }
Definition DayZPlayerImplement.c:63

Перекрестные ссылки m_IsActive, m_TickTimer и PluginBase::ShowWidgets().

◆ ShowCard()

void ShowCard ( int pCard)
protected
531 {
532 m_Card0.Show(pCard == 0);
533 m_Card1.Show(pCard == 1);
534 m_Card2.Show(pCard == 2);
535 m_Card3.Show(pCard == 3);
536 m_Card4.Show(pCard == 4);
537 }

Перекрестные ссылки m_Card0, m_Card1, m_Card2, m_Card3 и m_Card4.

◆ ShowWidgets()

void ShowWidgets ( bool show)
protected
333 {
334 if(m_MainWnd)
335 {
336 m_MainWnd.Show(show);
337 }
338 }

Перекрестные ссылки m_MainWnd.

Используется в OnRPC(), PluginItemDiagnostic() и ToggleDebugWindowEvent().

◆ Tick()

void Tick ( )
protected
546 {
548 if (!player)
549 {
550 return;
551 }
552
553 // Print("PluginDayzPlayerDebug tick");
555
556 // DbgShowBoneName(player);
558
561
562 m_Weapons.Tick();
563 }
void UpdateCommandModifiers(DayZPlayer pPlayer)
Definition PluginDayzPlayerDebug.c:658
void UpdatePlayerStatus(DayZPlayer pPlayer)
Definition PluginDayzPlayerDebug.c:570
void UpdateItemAccessor(DayZPlayer pPlayer)
Definition PluginDayzPlayerDebug.c:875

Перекрестные ссылки GetGame(), GetPlayer(), m_Weapons, UpdateCommandModifiers(), UpdateItemAccessor() и UpdatePlayerStatus().

◆ ToggleDebugWindowEvent()

void ToggleDebugWindowEvent ( )
protected
388 {
390 if (m_CurrentMode > 2)
391 {
392 m_CurrentMode = 0;
393 }
394
396 }
void ToggleDebugWindowSetMode(int pMode)
Definition PluginDayzPlayerDebug.c:438
int m_CurrentMode
Definition PluginDayzPlayerDebug.c:384

Перекрестные ссылки m_CurrentMode и PluginBase::ToggleDebugWindowSetMode().

Используется в 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

401 {
405
406 if(m_IsActive && !m_HasFocus)
407 {
408 Hide();
409 }
410 else
411 {
412 Show();
413 ReleaseFocus();
414 }
415 }
void Hide()
Definition PluginDayzPlayerDebug.c:354
void ReleaseFocus()
Definition PluginDayzPlayerDebug.c:374
void Show()
Definition PluginDayzPlayerDebug.c:341

Перекрестные ссылки PluginBase::Hide(), m_HasFocus, m_IsActive, PluginBase::ReleaseFocus() и 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

420 {
424
425 if (m_IsActive && m_HasFocus)
426 {
427 Hide();
428 ReleaseFocus();
429 }
430 else
431 {
432 Show();
433 CaptureFocus();
434 }
435 }
void CaptureFocus()
Definition PluginDayzPlayerDebug.c:363

Перекрестные ссылки PluginBase::CaptureFocus(), PluginBase::Hide(), m_HasFocus, m_IsActive, PluginBase::ReleaseFocus() и PluginBase::Show().

◆ ToggleDebugWindowSetMode()

void ToggleDebugWindowSetMode ( int pMode)
protected
439 {
440 switch (pMode)
441 {
442 case 0: Hide(); ReleaseFocus(); break;
443 case 1: Show(); ReleaseFocus(); break;
444 case 2: Show(); CaptureFocus(); break;
445 }
446 }

Перекрестные ссылки PluginBase::CaptureFocus(), PluginBase::Hide(), PluginBase::ReleaseFocus() и PluginBase::Show().

◆ UpdateCommandModifiers()

void UpdateCommandModifiers ( DayZPlayer pPlayer)
protected
659 {
661
662 // int nMods = pPlayer.GetCommandModifierCount();
663 // Print("Number of modifiers");
664 // Print(nMods);
665
666 /*
667 for (int i = 0; i < nMods; i ++)
668 {
669 // int a = pPlayer.GetCommandModifierId(i);
670
671 if (pPlayer.GetCommandModifierId(i) == DayZPlayerConstants.COMMANDID_MOD_ACTION)
672 {
673 }
674
675 // Print(a);
676
677 }
678 */
679
680 HumanCommandActionCallback clbk = pPlayer.GetCommandModifier_Action();
681 if (clbk)
682 {
683 Print(clbk);
684 };
685 }
void Actions_UpdateGlobals(DayZPlayer pPlayer)
Definition PluginDayzPlayerDebug.c:828

Перекрестные ссылки Actions_UpdateGlobals() и Print().

Используется в Tick().

◆ UpdateItemAccessor()

void UpdateItemAccessor ( DayZPlayer pPlayer)
protected
876 {
877 m_ItemAccClass.SetText(pPlayer.DebugGetItemClass());
878 m_ItemAccSClass.SetText(pPlayer.DebugGetItemSuperClass());
879 m_ItemAccInst.SetText(pPlayer.DebugGetItemAnimInstance());
880 }

Перекрестные ссылки m_ItemAccClass, m_ItemAccInst и m_ItemAccSClass.

Используется в Tick().

◆ UpdatePlayerStatus()

void UpdatePlayerStatus ( DayZPlayer pPlayer)
protected
571 {
572
574
575
576 pPlayer.GetMovementState(state);
577
578 string a = "Cmd:";
579
580 if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_MOVE)
581 {
582 a += "MOVE:";
583 a += " st:" + state.m_iStanceIdx.ToString() + ", mv:" + state.m_iMovement.ToString();
584 }
585 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_ACTION)
586 {
587 a += "FB ACTION:";
588 a += " st:" + state.m_iStanceIdx.ToString();
589 }
590 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_MELEE)
591 {
592 a += "MELEE:";
593 a += " st:" + state.m_iStanceIdx.ToString();
594 }
595 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_MELEE2)
596 {
597 a += "MELEE2:";
598 a += " st:" + state.m_iStanceIdx.ToString();
599 }
600 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_FALL)
601 {
602 a += "FALL:";
603 a += " st:" + state.m_iStanceIdx.ToString();
604 }
605 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_DEATH)
606 {
607 a += "now DEAD:";
608 a += " st:" + state.m_iStanceIdx.ToString();
609 }
610 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_LADDER)
611 {
612 a += "LADDER:";
613 a += " st:" + state.m_iStanceIdx.ToString();
614 }
615 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_UNCONSCIOUS)
616 {
617 a += "Unconscious:";
618 a += " st:" + state.m_iStanceIdx.ToString();
619 }
620 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_SWIM)
621 {
622 a += "Swimming:";
623 a += " st:" + state.m_iStanceIdx.ToString();
624 }
625 else if (state.m_CommandTypeId == DayZPlayerConstants.COMMANDID_CLIMB)
626 {
627 a += "Climbing:";
628 a += " st:" + state.m_iStanceIdx.ToString();
629 }
630 else
631 {
632 a += "UNKNOWN";
633 }
634
635 m_PlayerStatusV.SetText(a);
636 }
Definition human.c:1139

Перекрестные ссылки m_PlayerStatusV.

Используется в Tick().

◆ ~PluginDayzPlayerDebug()

void ~PluginDayzPlayerDebug ( )
protected
307 {
308 ReleaseFocus();
309
311
312 #ifndef NO_GUI
313 m_Weapons = NULL;
317 #endif
318 }
void DestroyModuleWidgets()
Definition PluginDayzPlayerDebug.c:524

Перекрестные ссылки PluginBase::DestroyModuleWidgets(), m_Controls, m_OtherCmds, m_Weapons, PlayerSyncDelete() и PluginBase::ReleaseFocus().

Переменные

◆ m_ActionEventV

TextWidget m_ActionEventV
protected

Используется в Actions_Start() и CreateModuleWidgets().

◆ m_ActionsCancel

ButtonWidget m_ActionsCancel
protected

Используется в CreateModuleWidgets().

◆ m_ActionsEnd

ButtonWidget m_ActionsEnd
protected

Используется в CreateModuleWidgets().

◆ m_ActionsFilter

◆ m_ActionsFinish

ButtonWidget m_ActionsFinish
protected

Используется в CreateModuleWidgets().

◆ m_ActionsGlobalStatus

TextWidget m_ActionsGlobalStatus
protected

Используется в Actions_UpdateGlobals() и CreateModuleWidgets().

◆ m_ActionsOTA

ButtonWidget m_ActionsOTA
protected

Используется в CreateModuleWidgets().

◆ m_ActionsOTL

ButtonWidget m_ActionsOTL
protected

Используется в CreateModuleWidgets().

◆ m_ActionsSelector

TextListboxWidget m_ActionsSelector
protected

Используется в Actions_Start(), CreateModuleWidgets() и DisplayActions().

◆ m_ActionsStart

ButtonWidget m_ActionsStart
protected

Используется в CreateModuleWidgets().

◆ m_ActionStateV

TextWidget m_ActionStateV
protected

Используется в Actions_Start() и CreateModuleWidgets().

◆ m_ActionTypeAll

ButtonWidget m_ActionTypeAll
protected

Используется в CreateModuleWidgets().

◆ m_ActionTypeFLA

ButtonWidget m_ActionTypeFLA
protected

Используется в CreateModuleWidgets().

◆ m_ActionTypeFLG

ButtonWidget m_ActionTypeFLG
protected

Используется в CreateModuleWidgets().

◆ m_ActionTypeFOA

ButtonWidget m_ActionTypeFOA
protected

Используется в CreateModuleWidgets().

◆ m_ActionTypeFOG

ButtonWidget m_ActionTypeFOG
protected

Используется в CreateModuleWidgets().

◆ m_ActionTypeLA

ButtonWidget m_ActionTypeLA
protected

Используется в CreateModuleWidgets().

◆ m_ActionTypeLG

ButtonWidget m_ActionTypeLG
protected

Используется в CreateModuleWidgets().

◆ m_ActionTypeOA

ButtonWidget m_ActionTypeOA
protected

Используется в CreateModuleWidgets().

◆ m_ActionTypeOG

ButtonWidget m_ActionTypeOG
protected

Используется в CreateModuleWidgets().

◆ m_AnimationList

◆ m_AnimationListMappings

Используется в DisplayActions() и RegisterAnimation().

◆ m_bIsFullBody

bool m_bIsFullBody
protected

◆ m_Card0

Widget m_Card0
protected

Используется в CreateModuleWidgets() и ShowCard().

◆ m_Card0Button

ButtonWidget m_Card0Button
protected

Используется в CreateModuleWidgets().

◆ m_Card1

Widget m_Card1
protected

Используется в CreateModuleWidgets(), PluginDayzPlayerDebug() и ShowCard().

◆ m_Card1Button

ButtonWidget m_Card1Button
protected

Используется в CreateModuleWidgets().

◆ m_Card2

Widget m_Card2
protected

Используется в CreateModuleWidgets(), PluginDayzPlayerDebug() и ShowCard().

◆ m_Card2Button

ButtonWidget m_Card2Button
protected

Используется в CreateModuleWidgets().

◆ m_Card3

Widget m_Card3
protected

Используется в CreateModuleWidgets(), PluginDayzPlayerDebug() и ShowCard().

◆ m_Card3Button

ButtonWidget m_Card3Button
protected

Используется в CreateModuleWidgets().

◆ m_Card4

Widget m_Card4
protected

Используется в CreateModuleWidgets() и ShowCard().

◆ m_Card4Button

ButtonWidget m_Card4Button
protected

Используется в CreateModuleWidgets().

◆ m_Category

int m_Category
protected

◆ m_CH_ActionCancel

bool m_CH_ActionCancel = false
protected

Используется в CommandHandler().

◆ m_CH_ActionCommand

int m_CH_ActionCommand = -1000
protected

Используется в CommandHandler().

◆ m_CH_ActionStart

bool m_CH_ActionStart = false
protected

Используется в CommandHandler().

◆ m_ClearEventsButton

ButtonWidget m_ClearEventsButton
protected

Используется в CreateModuleWidgets().

◆ m_Controls

◆ m_CurrentMode

◆ m_CurrentType

int m_CurrentType
protected

Используется в DisplayActions().

◆ m_EventsHistory

◆ m_HasFocus

◆ m_HasServerWalk

bool m_HasServerWalk = false
protected

◆ m_IsActive

bool m_IsActive = false
protected

◆ m_iStanceMask

int m_iStanceMask
protected

◆ m_ItemAccClass

TextWidget m_ItemAccClass
protected

Используется в CreateModuleWidgets() и UpdateItemAccessor().

◆ m_ItemAccInst

TextWidget m_ItemAccInst
protected

Используется в CreateModuleWidgets() и UpdateItemAccessor().

◆ m_ItemAccSClass

TextWidget m_ItemAccSClass
protected

Используется в CreateModuleWidgets() и UpdateItemAccessor().

◆ m_iUserData

int m_iUserData
protected

◆ m_MainWnd

◆ m_Name

string m_Name
protected

◆ m_OtherCmds

◆ m_PlayerServerWalk

ButtonWidget m_PlayerServerWalk
protected

Используется в CreateModuleWidgets().

◆ m_PlayerStatusV

EditBoxWidget m_PlayerStatusV
protected

Используется в CreateModuleWidgets() и UpdatePlayerStatus().

◆ m_PlayerSyncCreateShadow

ButtonWidget m_PlayerSyncCreateShadow
protected

Используется в CreateModuleWidgets().

◆ m_PlayerSyncDelete

ButtonWidget m_PlayerSyncDelete
protected

Используется в CreateModuleWidgets().

◆ m_pPlayerShadow

Entity m_pPlayerShadow
protected

Используется в PlayerSyncCreate() и PlayerSyncDelete().

◆ m_pPluginPlayerDebug

PluginDayzPlayerDebug m_pPluginPlayerDebug

Используется в OnChange() и PluginDayzPlayerDebugUserData().

◆ m_pUIHandler

ref PluginDayzPlayerDebugUIHandler m_pUIHandler
protected

◆ m_TickTimer

ref Timer m_TickTimer
private

◆ m_TypeNameMappings

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

Используется в CreateTypeNameMapping() и DisplayActions().

◆ m_Weapons

◆ TYPE_ALL

const int TYPE_ALL = -1
private

◆ TYPE_FB_GESTURE_LOOPING

const int TYPE_FB_GESTURE_LOOPING = 6
private

Используется в CreateTypeNameMapping() и RegisterAnimations().

◆ TYPE_FB_GESTURE_ONETIME

const int TYPE_FB_GESTURE_ONETIME = 7
private

Используется в CreateTypeNameMapping() и RegisterAnimations().

◆ TYPE_FB_LOOPING

const int TYPE_FB_LOOPING = 2
private

Используется в CreateTypeNameMapping() и RegisterAnimations().

◆ TYPE_FB_ONETIME

const int TYPE_FB_ONETIME = 3
private

Используется в CreateTypeNameMapping() и RegisterAnimations().

◆ TYPE_FB_SUICIDE_LOOPING

const int TYPE_FB_SUICIDE_LOOPING = TYPE_FB_GESTURE_LOOPING
private

Используется в RegisterAnimations().

◆ TYPE_MOD_GESTURE_LOOPING

const int TYPE_MOD_GESTURE_LOOPING = 4
private

Используется в CreateTypeNameMapping() и RegisterAnimations().

◆ TYPE_MOD_GESTURE_ONETIME

const int TYPE_MOD_GESTURE_ONETIME = 5
private

Используется в CreateTypeNameMapping() и RegisterAnimations().

◆ TYPE_MOD_LOOPING

class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING = 0

Используется в CreateTypeNameMapping() и RegisterAnimations().

◆ TYPE_MOD_ONETIME

const int TYPE_MOD_ONETIME = 1
private

Используется в CreateTypeNameMapping() и RegisterAnimations().