Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
plugindayzplayerdebug.c File Reference

Go to the source code of this file.

Data Structures

class  PluginDayzPlayerDebugUserData
 
class  HumanCommandActionCallback
 

Functions

class PluginDayzPlayerDebugUserData OnClick (Widget w, int x, int y, int button)
 buttons clicks More...
 
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". More...
 
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

protected int m_iUserData
 
protected bool m_bIsFullBody
 
protected int m_iStanceMask
 
protected int m_Category
 
protected string m_Name
 
PluginDayzPlayerDebug m_pPluginPlayerDebug
 
class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING = 0
 
const private int TYPE_MOD_ONETIME = 1
 
const private int TYPE_FB_LOOPING = 2
 
const private int TYPE_FB_ONETIME = 3
 
const private int TYPE_MOD_GESTURE_LOOPING = 4
 
const private int TYPE_MOD_GESTURE_ONETIME = 5
 
const private int TYPE_FB_GESTURE_LOOPING = 6
 
const private int TYPE_FB_GESTURE_ONETIME = 7
 
const private int TYPE_FB_SUICIDE_LOOPING = TYPE_FB_GESTURE_LOOPING
 
const private int TYPE_ALL = -1
 
ref Timer m_TickTimer
 
protected ref array< ref PluginDayzPlayerDebugUserDatam_AnimationList = new array<ref PluginDayzPlayerDebugUserData>()
 
protected ref map< string, ref PluginDayzPlayerDebugUserDatam_AnimationListMappings = new map<string, ref PluginDayzPlayerDebugUserData>()
 
protected 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
 
protected 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 ( )

Definition at line 805 of file plugindayzplayerdebug.c.

◆ Actions_DoInternalCommand()

void Actions_DoInternalCommand ( int  pCommandId)

Definition at line 782 of file plugindayzplayerdebug.c.

◆ Actions_Start()

void Actions_Start ( )

start action

Definition at line 743 of file plugindayzplayerdebug.c.

◆ Actions_UpdateGlobals()

void Actions_UpdateGlobals ( DayZPlayer  pPlayer)

Definition at line 828 of file plugindayzplayerdebug.c.

◆ CaptureFocus()

void CaptureFocus ( )

Definition at line 363 of file plugindayzplayerdebug.c.

◆ CommandHandler()

void CommandHandler ( )

Definition at line 1051 of file plugindayzplayerdebug.c.

◆ CreateModuleWidgets()

void CreateModuleWidgets ( )

Definition at line 448 of file plugindayzplayerdebug.c.

◆ CreateTypeNameMapping()

void CreateTypeNameMapping ( )

Definition at line 293 of file plugindayzplayerdebug.c.

◆ DbgShowBoneName()

void DbgShowBoneName ( DayZPlayer  pPlayer)

Definition at line 639 of file plugindayzplayerdebug.c.

◆ DestroyModuleWidgets()

void DestroyModuleWidgets ( )

Definition at line 524 of file plugindayzplayerdebug.c.

◆ DisplayActions()

void DisplayActions ( int  pType)

Definition at line 691 of file plugindayzplayerdebug.c.

◆ GetCategory()

int OnClick::GetCategory ( )

Definition at line 26 of file plugindayzplayerdebug.c.

◆ GetInt()

int OnClick::GetInt ( )

Definition at line 11 of file plugindayzplayerdebug.c.

◆ GetNameUnique()

string OnClick::GetNameUnique ( )

Definition at line 35 of file plugindayzplayerdebug.c.

◆ GetStanceMask()

int OnClick::GetStanceMask ( )

Definition at line 21 of file plugindayzplayerdebug.c.

◆ Hide()

void Hide ( )

Definition at line 354 of file plugindayzplayerdebug.c.

◆ IsActive()

bool IsActive ( )

Definition at line 327 of file plugindayzplayerdebug.c.

◆ IsFullBody()

bool OnClick::IsFullBody ( )

Definition at line 16 of file plugindayzplayerdebug.c.

◆ IsWeaponChange()

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

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

Definition at line 843 of file plugindayzplayerdebug.c.

◆ PlayerSyncDelete()

void PlayerSyncDelete ( )

Definition at line 855 of file plugindayzplayerdebug.c.

◆ PluginDayzPlayerDebug()

void PluginDayzPlayerDebug ( )

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

◆ RegisterAnimation()

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

Definition at line 1087 of file plugindayzplayerdebug.c.

◆ RegisterAnimations()

void RegisterAnimations ( )

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 
)

Definition at line 322 of file plugindayzplayerdebug.c.

◆ ReleaseFocus()

void ReleaseFocus ( )

Definition at line 374 of file plugindayzplayerdebug.c.

◆ Show()

void Show ( )

Definition at line 341 of file plugindayzplayerdebug.c.

◆ ShowCard()

void ShowCard ( int  pCard)

Definition at line 530 of file plugindayzplayerdebug.c.

◆ ShowWidgets()

void ShowWidgets ( bool  show)

Definition at line 332 of file plugindayzplayerdebug.c.

◆ Tick()

void Tick ( )

Definition at line 545 of file plugindayzplayerdebug.c.

◆ ToggleDebugWindowEvent()

void ToggleDebugWindowEvent ( )

Definition at line 387 of file plugindayzplayerdebug.c.

◆ ToggleDebugWindowEventOld()

void ToggleDebugWindowEventOld ( )

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

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)

Definition at line 438 of file plugindayzplayerdebug.c.

◆ UpdateCommandModifiers()

void UpdateCommandModifiers ( DayZPlayer  pPlayer)

Definition at line 658 of file plugindayzplayerdebug.c.

◆ UpdateItemAccessor()

void UpdateItemAccessor ( DayZPlayer  pPlayer)

Definition at line 875 of file plugindayzplayerdebug.c.

◆ UpdatePlayerStatus()

void UpdatePlayerStatus ( DayZPlayer  pPlayer)

Definition at line 570 of file plugindayzplayerdebug.c.

◆ ~PluginDayzPlayerDebug()

Definition at line 306 of file plugindayzplayerdebug.c.

Variable Documentation

◆ m_ActionEventV

TextWidget m_ActionEventV

Definition at line 228 of file plugindayzplayerdebug.c.

◆ m_ActionsCancel

ButtonWidget m_ActionsCancel

Definition at line 224 of file plugindayzplayerdebug.c.

◆ m_ActionsEnd

ButtonWidget m_ActionsEnd

Definition at line 222 of file plugindayzplayerdebug.c.

◆ m_ActionsFilter

EditBoxWidget m_ActionsFilter

Definition at line 231 of file plugindayzplayerdebug.c.

◆ m_ActionsFinish

ButtonWidget m_ActionsFinish

Definition at line 223 of file plugindayzplayerdebug.c.

◆ m_ActionsGlobalStatus

TextWidget m_ActionsGlobalStatus

Definition at line 229 of file plugindayzplayerdebug.c.

◆ m_ActionsOTA

ButtonWidget m_ActionsOTA

Definition at line 225 of file plugindayzplayerdebug.c.

◆ m_ActionsOTL

ButtonWidget m_ActionsOTL

Definition at line 226 of file plugindayzplayerdebug.c.

◆ m_ActionsSelector

TextListboxWidget m_ActionsSelector

Definition at line 220 of file plugindayzplayerdebug.c.

◆ m_ActionsStart

ButtonWidget m_ActionsStart

Definition at line 221 of file plugindayzplayerdebug.c.

◆ m_ActionStateV

TextWidget m_ActionStateV

Definition at line 227 of file plugindayzplayerdebug.c.

◆ m_ActionTypeAll

ButtonWidget m_ActionTypeAll

Definition at line 241 of file plugindayzplayerdebug.c.

◆ m_ActionTypeFLA

ButtonWidget m_ActionTypeFLA

Definition at line 244 of file plugindayzplayerdebug.c.

◆ m_ActionTypeFLG

ButtonWidget m_ActionTypeFLG

Definition at line 248 of file plugindayzplayerdebug.c.

◆ m_ActionTypeFOA

ButtonWidget m_ActionTypeFOA

Definition at line 245 of file plugindayzplayerdebug.c.

◆ m_ActionTypeFOG

ButtonWidget m_ActionTypeFOG

Definition at line 249 of file plugindayzplayerdebug.c.

◆ m_ActionTypeLA

ButtonWidget m_ActionTypeLA

Definition at line 242 of file plugindayzplayerdebug.c.

◆ m_ActionTypeLG

ButtonWidget m_ActionTypeLG

Definition at line 246 of file plugindayzplayerdebug.c.

◆ m_ActionTypeOA

ButtonWidget m_ActionTypeOA

Definition at line 243 of file plugindayzplayerdebug.c.

◆ m_ActionTypeOG

ButtonWidget m_ActionTypeOG

Definition at line 247 of file plugindayzplayerdebug.c.

◆ m_AnimationList

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

Definition at line 198 of file plugindayzplayerdebug.c.

◆ m_AnimationListMappings

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

Definition at line 199 of file plugindayzplayerdebug.c.

◆ m_bIsFullBody

protected bool m_bIsFullBody

Definition at line 41 of file plugindayzplayerdebug.c.

◆ m_Card0

Widget m_Card0

Definition at line 207 of file plugindayzplayerdebug.c.

◆ m_Card0Button

ButtonWidget m_Card0Button

Definition at line 212 of file plugindayzplayerdebug.c.

◆ m_Card1

Widget m_Card1

Definition at line 208 of file plugindayzplayerdebug.c.

◆ m_Card1Button

ButtonWidget m_Card1Button

Definition at line 213 of file plugindayzplayerdebug.c.

◆ m_Card2

Widget m_Card2

Definition at line 209 of file plugindayzplayerdebug.c.

◆ m_Card2Button

ButtonWidget m_Card2Button

Definition at line 214 of file plugindayzplayerdebug.c.

◆ m_Card3

Widget m_Card3

Definition at line 210 of file plugindayzplayerdebug.c.

◆ m_Card3Button

ButtonWidget m_Card3Button

Definition at line 215 of file plugindayzplayerdebug.c.

◆ m_Card4

Widget m_Card4

Definition at line 211 of file plugindayzplayerdebug.c.

◆ m_Card4Button

ButtonWidget m_Card4Button

Definition at line 216 of file plugindayzplayerdebug.c.

◆ m_Category

protected int m_Category

Definition at line 43 of file plugindayzplayerdebug.c.

◆ m_CH_ActionCancel

bool m_CH_ActionCancel = false

Definition at line 265 of file plugindayzplayerdebug.c.

◆ m_CH_ActionCommand

int m_CH_ActionCommand = -1000

Definition at line 264 of file plugindayzplayerdebug.c.

◆ m_CH_ActionStart

bool m_CH_ActionStart = false

Definition at line 263 of file plugindayzplayerdebug.c.

◆ m_ClearEventsButton

ButtonWidget m_ClearEventsButton

Definition at line 252 of file plugindayzplayerdebug.c.

◆ m_Controls

Definition at line 269 of file plugindayzplayerdebug.c.

◆ m_CurrentMode

int m_CurrentMode = 0

Definition at line 384 of file plugindayzplayerdebug.c.

◆ m_CurrentType

protected int m_CurrentType

Definition at line 260 of file plugindayzplayerdebug.c.

◆ m_EventsHistory

TextListboxWidget m_EventsHistory

Definition at line 254 of file plugindayzplayerdebug.c.

◆ m_HasFocus

bool m_HasFocus = false

Definition at line 203 of file plugindayzplayerdebug.c.

◆ m_HasServerWalk

bool m_HasServerWalk = false

Definition at line 204 of file plugindayzplayerdebug.c.

◆ m_IsActive

bool m_IsActive = false

Definition at line 202 of file plugindayzplayerdebug.c.

◆ m_iStanceMask

protected int m_iStanceMask

Definition at line 42 of file plugindayzplayerdebug.c.

◆ m_ItemAccClass

TextWidget m_ItemAccClass

Definition at line 237 of file plugindayzplayerdebug.c.

◆ m_ItemAccInst

TextWidget m_ItemAccInst

Definition at line 239 of file plugindayzplayerdebug.c.

◆ m_ItemAccSClass

TextWidget m_ItemAccSClass

Definition at line 238 of file plugindayzplayerdebug.c.

◆ m_iUserData

protected int m_iUserData

Definition at line 40 of file plugindayzplayerdebug.c.

◆ m_MainWnd

Widget m_MainWnd

Definition at line 206 of file plugindayzplayerdebug.c.

◆ m_Name

protected string m_Name

Definition at line 44 of file plugindayzplayerdebug.c.

◆ m_OtherCmds

Definition at line 270 of file plugindayzplayerdebug.c.

◆ m_PlayerServerWalk

ButtonWidget m_PlayerServerWalk

Definition at line 235 of file plugindayzplayerdebug.c.

◆ m_PlayerStatusV

EditBoxWidget m_PlayerStatusV

Definition at line 219 of file plugindayzplayerdebug.c.

◆ m_PlayerSyncCreateShadow

ButtonWidget m_PlayerSyncCreateShadow

Definition at line 233 of file plugindayzplayerdebug.c.

◆ m_PlayerSyncDelete

ButtonWidget m_PlayerSyncDelete

Definition at line 234 of file plugindayzplayerdebug.c.

◆ m_pPlayerShadow

Entity m_pPlayerShadow

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

Definition at line 256 of file plugindayzplayerdebug.c.

◆ m_TickTimer

ref Timer m_TickTimer

Definition at line 196 of file plugindayzplayerdebug.c.

◆ m_TypeNameMappings

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

Definition at line 200 of file plugindayzplayerdebug.c.

◆ m_Weapons

Definition at line 268 of file plugindayzplayerdebug.c.

◆ TYPE_ALL

const private int TYPE_ALL = -1

Definition at line 192 of file plugindayzplayerdebug.c.

◆ TYPE_FB_GESTURE_LOOPING

const private int TYPE_FB_GESTURE_LOOPING = 6

Definition at line 188 of file plugindayzplayerdebug.c.

◆ TYPE_FB_GESTURE_ONETIME

const private int TYPE_FB_GESTURE_ONETIME = 7

Definition at line 189 of file plugindayzplayerdebug.c.

◆ TYPE_FB_LOOPING

const private int TYPE_FB_LOOPING = 2

Definition at line 183 of file plugindayzplayerdebug.c.

◆ TYPE_FB_ONETIME

const private int TYPE_FB_ONETIME = 3

Definition at line 184 of file plugindayzplayerdebug.c.

◆ TYPE_FB_SUICIDE_LOOPING

const private int TYPE_FB_SUICIDE_LOOPING = TYPE_FB_GESTURE_LOOPING

Definition at line 190 of file plugindayzplayerdebug.c.

◆ TYPE_MOD_GESTURE_LOOPING

const private int TYPE_MOD_GESTURE_LOOPING = 4

Definition at line 186 of file plugindayzplayerdebug.c.

◆ TYPE_MOD_GESTURE_ONETIME

const private int TYPE_MOD_GESTURE_ONETIME = 5

Definition at line 187 of file plugindayzplayerdebug.c.

◆ TYPE_MOD_LOOPING

class PluginDayzPlayerActionCallback extends HumanCommandActionCallback TYPE_MOD_LOOPING = 0

◆ TYPE_MOD_ONETIME

const private int TYPE_MOD_ONETIME = 1

Definition at line 182 of file plugindayzplayerdebug.c.