Dayz Explorer 1.28.160049
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 ()
 Test name getter. Strictly for UI porposes!
 
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
 
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 805 of file plugindayzplayerdebug.c.

◆ Actions_DoInternalCommand()

void Actions_DoInternalCommand ( int pCommandId)
protected

Definition at line 782 of file plugindayzplayerdebug.c.

◆ Actions_Start()

void Actions_Start ( )
protected

start action

Definition at line 743 of file plugindayzplayerdebug.c.

◆ Actions_UpdateGlobals()

void Actions_UpdateGlobals ( DayZPlayer pPlayer)
protected

Definition at line 828 of file plugindayzplayerdebug.c.

◆ CaptureFocus()

void CaptureFocus ( )
protected

Definition at line 363 of file plugindayzplayerdebug.c.

◆ CommandHandler()

void CommandHandler ( )
protected

Definition at line 1051 of file plugindayzplayerdebug.c.

◆ CreateModuleWidgets()

void CreateModuleWidgets ( )
protected

Definition at line 448 of file plugindayzplayerdebug.c.

◆ CreateTypeNameMapping()

void CreateTypeNameMapping ( )
protected

Definition at line 293 of file plugindayzplayerdebug.c.

◆ DbgShowBoneName()

void DbgShowBoneName ( DayZPlayer pPlayer)
protected

Definition at line 639 of file plugindayzplayerdebug.c.

◆ DestroyModuleWidgets()

void DestroyModuleWidgets ( )
protected

Definition at line 524 of file plugindayzplayerdebug.c.

◆ DisplayActions()

void DisplayActions ( int pType)
protected

Definition at line 691 of file plugindayzplayerdebug.c.

◆ GetCategory()

int OnClick::GetCategory ( )

Definition at line 81 of file plugindayzplayerdebug.c.

◆ GetInt()

int OnClick::GetInt ( )

Definition at line 66 of file plugindayzplayerdebug.c.

◆ GetNameUnique()

string OnClick::GetNameUnique ( )

Definition at line 90 of file plugindayzplayerdebug.c.

◆ GetStanceMask()

int OnClick::GetStanceMask ( )

Definition at line 76 of file plugindayzplayerdebug.c.

◆ Hide()

void Hide ( )
protected

Definition at line 354 of file plugindayzplayerdebug.c.

◆ IsActive()

bool IsActive ( )
protected

Definition at line 327 of file plugindayzplayerdebug.c.

◆ IsFullBody()

bool OnClick::IsFullBody ( )

Definition at line 71 of file plugindayzplayerdebug.c.

◆ IsWeaponChange()

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

Definition at line 1037 of file plugindayzplayerdebug.c.

◆ OnChange()

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

Definition at line 62 of file plugindayzplayerdebug.c.

◆ OnClick()

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

buttons clicks

send rcp

Definition at line 1 of file plugindayzplayerdebug.c.

◆ OnMouseEnter()

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

Definition at line 68 of file plugindayzplayerdebug.c.

◆ OnMouseLeave()

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

Definition at line 76 of file plugindayzplayerdebug.c.

◆ PlayerSyncCreate()

void PlayerSyncCreate ( )
protected

Definition at line 843 of file plugindayzplayerdebug.c.

◆ PlayerSyncDelete()

void PlayerSyncDelete ( )
protected

Definition at line 855 of file plugindayzplayerdebug.c.

◆ PluginDayzPlayerDebug()

void PluginDayzPlayerDebug ( )
protected

Definition at line 275 of file plugindayzplayerdebug.c.

◆ PluginDayzPlayerDebugUserData()

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

Definition at line 57 of file plugindayzplayerdebug.c.

◆ RegisterAnimation()

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

Definition at line 1087 of file plugindayzplayerdebug.c.

◆ 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 1094 of file plugindayzplayerdebug.c.

◆ RegisterDebugItem()

void RegisterDebugItem ( ItemBase item,
PlayerBase player )
protected

Definition at line 322 of file plugindayzplayerdebug.c.

◆ ReleaseFocus()

void ReleaseFocus ( )
protected

Definition at line 374 of file plugindayzplayerdebug.c.

◆ Show()

void Show ( )
protected

Definition at line 341 of file plugindayzplayerdebug.c.

◆ ShowCard()

void ShowCard ( int pCard)
protected

Definition at line 530 of file plugindayzplayerdebug.c.

◆ ShowWidgets()

void ShowWidgets ( bool show)
protected

Definition at line 332 of file plugindayzplayerdebug.c.

◆ Tick()

void Tick ( )
protected

Definition at line 545 of file plugindayzplayerdebug.c.

◆ ToggleDebugWindowEvent()

void ToggleDebugWindowEvent ( )
protected

Definition at line 387 of file plugindayzplayerdebug.c.

◆ 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 400 of file plugindayzplayerdebug.c.

◆ 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 419 of file plugindayzplayerdebug.c.

◆ ToggleDebugWindowSetMode()

void ToggleDebugWindowSetMode ( int pMode)
protected

Definition at line 438 of file plugindayzplayerdebug.c.

◆ UpdateCommandModifiers()

void UpdateCommandModifiers ( DayZPlayer pPlayer)
protected

Definition at line 658 of file plugindayzplayerdebug.c.

◆ UpdateItemAccessor()

void UpdateItemAccessor ( DayZPlayer pPlayer)
protected

Definition at line 875 of file plugindayzplayerdebug.c.

◆ UpdatePlayerStatus()

void UpdatePlayerStatus ( DayZPlayer pPlayer)
protected

Definition at line 570 of file plugindayzplayerdebug.c.

◆ ~PluginDayzPlayerDebug()

void ~PluginDayzPlayerDebug ( )
protected

Definition at line 306 of file plugindayzplayerdebug.c.

Variable Documentation

◆ m_ActionEventV

TextWidget m_ActionEventV
protected

Definition at line 228 of file plugindayzplayerdebug.c.

◆ m_ActionsCancel

ButtonWidget m_ActionsCancel
protected

Definition at line 224 of file plugindayzplayerdebug.c.

◆ m_ActionsEnd

ButtonWidget m_ActionsEnd
protected

Definition at line 222 of file plugindayzplayerdebug.c.

◆ m_ActionsFilter

EditBoxWidget m_ActionsFilter
protected

Definition at line 231 of file plugindayzplayerdebug.c.

◆ m_ActionsFinish

ButtonWidget m_ActionsFinish
protected

Definition at line 223 of file plugindayzplayerdebug.c.

◆ m_ActionsGlobalStatus

TextWidget m_ActionsGlobalStatus
protected

Definition at line 229 of file plugindayzplayerdebug.c.

◆ m_ActionsOTA

ButtonWidget m_ActionsOTA
protected

Definition at line 225 of file plugindayzplayerdebug.c.

◆ m_ActionsOTL

ButtonWidget m_ActionsOTL
protected

Definition at line 226 of file plugindayzplayerdebug.c.

◆ m_ActionsSelector

TextListboxWidget m_ActionsSelector
protected

Definition at line 220 of file plugindayzplayerdebug.c.

◆ m_ActionsStart

ButtonWidget m_ActionsStart
protected

Definition at line 221 of file plugindayzplayerdebug.c.

◆ m_ActionStateV

TextWidget m_ActionStateV
protected

Definition at line 227 of file plugindayzplayerdebug.c.

◆ m_ActionTypeAll

ButtonWidget m_ActionTypeAll
protected

Definition at line 241 of file plugindayzplayerdebug.c.

◆ m_ActionTypeFLA

ButtonWidget m_ActionTypeFLA
protected

Definition at line 244 of file plugindayzplayerdebug.c.

◆ m_ActionTypeFLG

ButtonWidget m_ActionTypeFLG
protected

Definition at line 248 of file plugindayzplayerdebug.c.

◆ m_ActionTypeFOA

ButtonWidget m_ActionTypeFOA
protected

Definition at line 245 of file plugindayzplayerdebug.c.

◆ m_ActionTypeFOG

ButtonWidget m_ActionTypeFOG
protected

Definition at line 249 of file plugindayzplayerdebug.c.

◆ m_ActionTypeLA

ButtonWidget m_ActionTypeLA
protected

Definition at line 242 of file plugindayzplayerdebug.c.

◆ m_ActionTypeLG

ButtonWidget m_ActionTypeLG
protected

Definition at line 246 of file plugindayzplayerdebug.c.

◆ m_ActionTypeOA

ButtonWidget m_ActionTypeOA
protected

Definition at line 243 of file plugindayzplayerdebug.c.

◆ m_ActionTypeOG

ButtonWidget m_ActionTypeOG
protected

Definition at line 247 of file plugindayzplayerdebug.c.

◆ m_AnimationList

ref array<ref PluginDayzPlayerDebugUserData> m_AnimationList = new array<ref PluginDayzPlayerDebugUserData>()
protected

Definition at line 198 of file plugindayzplayerdebug.c.

◆ m_AnimationListMappings

ref map<string, ref PluginDayzPlayerDebugUserData> m_AnimationListMappings = new map<string, ref PluginDayzPlayerDebugUserData>()
protected

Definition at line 199 of file plugindayzplayerdebug.c.

◆ m_bIsFullBody

bool m_bIsFullBody
protected

Definition at line 96 of file plugindayzplayerdebug.c.

◆ m_Card0

Widget m_Card0
protected

Definition at line 207 of file plugindayzplayerdebug.c.

◆ m_Card0Button

ButtonWidget m_Card0Button
protected

Definition at line 212 of file plugindayzplayerdebug.c.

◆ m_Card1

Widget m_Card1
protected

Definition at line 208 of file plugindayzplayerdebug.c.

◆ m_Card1Button

ButtonWidget m_Card1Button
protected

Definition at line 213 of file plugindayzplayerdebug.c.

◆ m_Card2

Widget m_Card2
protected

Definition at line 209 of file plugindayzplayerdebug.c.

◆ m_Card2Button

ButtonWidget m_Card2Button
protected

Definition at line 214 of file plugindayzplayerdebug.c.

◆ m_Card3

Widget m_Card3
protected

Definition at line 210 of file plugindayzplayerdebug.c.

◆ m_Card3Button

ButtonWidget m_Card3Button
protected

Definition at line 215 of file plugindayzplayerdebug.c.

◆ m_Card4

Widget m_Card4
protected

Definition at line 211 of file plugindayzplayerdebug.c.

◆ m_Card4Button

ButtonWidget m_Card4Button
protected

Definition at line 216 of file plugindayzplayerdebug.c.

◆ 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 265 of file plugindayzplayerdebug.c.

◆ m_CH_ActionCommand

int m_CH_ActionCommand = -1000
protected

Definition at line 264 of file plugindayzplayerdebug.c.

◆ m_CH_ActionStart

bool m_CH_ActionStart = false
protected

Definition at line 263 of file plugindayzplayerdebug.c.

◆ m_ClearEventsButton

ButtonWidget m_ClearEventsButton
protected

Definition at line 252 of file plugindayzplayerdebug.c.

◆ m_Controls

ref PluginDayzPlayerDebug_Ctrl m_Controls
protected

Definition at line 269 of file plugindayzplayerdebug.c.

◆ m_CurrentMode

int m_CurrentMode = 0
protected

Definition at line 384 of file plugindayzplayerdebug.c.

◆ m_CurrentType

int m_CurrentType
protected

Definition at line 260 of file plugindayzplayerdebug.c.

◆ m_EventsHistory

TextListboxWidget m_EventsHistory
protected

Definition at line 254 of file plugindayzplayerdebug.c.

◆ m_HasFocus

bool m_HasFocus = false
protected

Definition at line 203 of file plugindayzplayerdebug.c.

◆ m_HasServerWalk

bool m_HasServerWalk = false
protected

Definition at line 204 of file plugindayzplayerdebug.c.

◆ m_IsActive

bool m_IsActive = false
protected

Definition at line 202 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 237 of file plugindayzplayerdebug.c.

◆ m_ItemAccInst

TextWidget m_ItemAccInst
protected

Definition at line 239 of file plugindayzplayerdebug.c.

◆ m_ItemAccSClass

TextWidget m_ItemAccSClass
protected

Definition at line 238 of file plugindayzplayerdebug.c.

◆ m_iUserData

int m_iUserData
protected

Definition at line 95 of file plugindayzplayerdebug.c.

◆ m_MainWnd

Widget m_MainWnd
protected

Definition at line 206 of file plugindayzplayerdebug.c.

◆ m_Name

string m_Name
protected

Definition at line 99 of file plugindayzplayerdebug.c.

◆ m_OtherCmds

ref PluginDayzPlayerDebug_OtherCmds m_OtherCmds
protected

Definition at line 270 of file plugindayzplayerdebug.c.

◆ m_PlayerServerWalk

ButtonWidget m_PlayerServerWalk
protected

Definition at line 235 of file plugindayzplayerdebug.c.

◆ m_PlayerStatusV

EditBoxWidget m_PlayerStatusV
protected

Definition at line 219 of file plugindayzplayerdebug.c.

◆ m_PlayerSyncCreateShadow

ButtonWidget m_PlayerSyncCreateShadow
protected

Definition at line 233 of file plugindayzplayerdebug.c.

◆ m_PlayerSyncDelete

ButtonWidget m_PlayerSyncDelete
protected

Definition at line 234 of file plugindayzplayerdebug.c.

◆ m_pPlayerShadow

Entity m_pPlayerShadow
protected

Definition at line 258 of file plugindayzplayerdebug.c.

◆ m_pPluginPlayerDebug

PluginDayzPlayerDebug m_pPluginPlayerDebug

Definition at line 83 of file plugindayzplayerdebug.c.

◆ m_pUIHandler

ref PluginDayzPlayerDebugUIHandler m_pUIHandler
protected

Definition at line 256 of file plugindayzplayerdebug.c.

◆ m_TypeNameMappings

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

Definition at line 200 of file plugindayzplayerdebug.c.

◆ m_Weapons

ref PluginDayzPlayerDebug_Weapons m_Weapons
protected

Definition at line 268 of file plugindayzplayerdebug.c.

◆ TYPE_MOD_LOOPING

class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING = 0