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

Private Member Functions

int FindAbilityConfig (int pAction, int pActionT)
 
void PluginDayzPlayerDebug_Weapons (Widget pMainWnd)
 
void ~PluginDayzPlayerDebug_Weapons ()
 
void CreateModuleWidgets ()
 
void DestroyModuleWidgets ()
 
void Tick ()
 
void WeaponsInit (Weapon_Base w)
 
void WeaponsStartAction ()
 
bool OnClick (Widget w, int x, int y, int button)
 buttons clicks
 
bool IsWeaponChange (out string pNewWeapon, out int pHideSlot, out int pShowSlot)
 
void CommandHandler ()
 

Private Attributes

Widget m_MainWnd
 
TextListboxWidget m_Selector
 
ButtonWidget m_ButtonStart
 
TextWidget m_WidgetActionRunning
 
TextWidget m_WidgetActionEvents
 
Weapon_Base m_CurrentWeapon
 
EditBoxWidget m_SetInitStateI
 
ButtonWidget m_SetInitStateB
 
ButtonWidget m_WeaponChange
 
ButtonWidget m_WeaponHide
 
EditBoxWidget m_WeaponSlotH
 
EditBoxWidget m_WeaponSlotS
 
EditBoxWidget m_WeaponActionProgressStart
 
EditBoxWidget m_WeaponActionProgressEnd
 
int m_CH_WeapAction = -1
 
int m_CH_WeapActionType = -1
 
int m_CH_LastWeapAction = -1
 
int m_CH_LastWeapActionType = -1
 
float m_CH_WeapActionProgressStart = 0
 
float m_CH_WeapActionProgressEnd = 1
 
string m_CH_WeaponChangeI
 
int m_CH_WeaponChangeSlotH = -1
 
int m_CH_WeaponChangeSlotS = -1
 
ref array< ref PluginDayzPlayerDebug_AbilityConfigm_AbilityConfig
 

Detailed Description

Definition at line 51 of file PluginDayzPlayerDebug_Weapons.c.

Constructor & Destructor Documentation

◆ PluginDayzPlayerDebug_Weapons()

void PluginDayzPlayerDebug_Weapons::PluginDayzPlayerDebug_Weapons ( Widget pMainWnd)
inlineprivate

Definition at line 177 of file PluginDayzPlayerDebug_Weapons.c.

178 {
180
182
185 if (player)
186 {
187 HumanCommandWeapons hcw = player.GetCommandModifier_Weapons();
188 hcw.DebugResetEvents();
189 }
190 }
PlayerBase GetPlayer()
proto native CGame GetGame()

References CreateModuleWidgets(), GetGame(), GetPlayer(), and m_MainWnd.

◆ ~PluginDayzPlayerDebug_Weapons()

void PluginDayzPlayerDebug_Weapons::~PluginDayzPlayerDebug_Weapons ( )
inlineprivate

Member Function Documentation

◆ CommandHandler()

void PluginDayzPlayerDebug_Weapons::CommandHandler ( )
inlineprivate

Definition at line 411 of file PluginDayzPlayerDebug_Weapons.c.

412 {
413
414 // last action again
415 if (KeyState(KeyCode.KC_MULTIPLY) == 1)
416 {
417 ClearKey(KeyCode.KC_MULTIPLY);
420
421 Print("DayzPlayerImplement_Weapons OnKC_MULTIPLY");
422 }
423
424
425 if (m_CH_WeapAction >= 0)
426 {
429
432 if (player != NULL)
433 {
434 HumanCommandWeapons hcw = player.GetCommandModifier_Weapons();
437
438 Print("DayzPlayerImplement_Weapons::WeaponsStartAction2");
439
440 }
441
442 m_CH_WeapAction = -1;
443 }
444
445 }
proto void Print(void var)
Prints content of variable to console/log.
proto native void ClearKey(KeyCode key)
KeyCode
Definition EnSystem.c:157
proto native int KeyState(KeyCode key)

References ClearKey(), GetGame(), GetPlayer(), KeyState(), m_CH_LastWeapAction, m_CH_LastWeapActionType, m_CH_WeapAction, m_CH_WeapActionProgressEnd, m_CH_WeapActionProgressStart, m_CH_WeapActionType, and Print().

◆ CreateModuleWidgets()

void PluginDayzPlayerDebug_Weapons::CreateModuleWidgets ( )
inlineprivate

Definition at line 199 of file PluginDayzPlayerDebug_Weapons.c.

200 {
201 m_Selector = TextListboxWidget.Cast(m_MainWnd.FindAnyWidget("WeapActionSelector"));
202 m_ButtonStart = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("WeapActionStart"));
203
204 m_WidgetActionRunning = TextWidget.Cast(m_MainWnd.FindAnyWidget("WeapActionRunning"));
205 m_WidgetActionEvents = TextWidget.Cast(m_MainWnd.FindAnyWidget("WeapActionEvents"));
206
207 m_SetInitStateI = EditBoxWidget.Cast(m_MainWnd.FindAnyWidget("WeapInitStateI"));
208 m_SetInitStateB = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("WeapInitStateB"));
209
210 m_WeaponChange = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("WeapChange"));
211 m_WeaponHide = ButtonWidget.Cast(m_MainWnd.FindAnyWidget("WeapHide"));
212 m_WeaponSlotH = EditBoxWidget.Cast(m_MainWnd.FindAnyWidget("WeaponChangeSlotH"));
213 m_WeaponSlotS = EditBoxWidget.Cast(m_MainWnd.FindAnyWidget("WeaponChangeSlotS"));
214 m_WeaponActionProgressStart = EditBoxWidget.Cast(m_MainWnd.FindAnyWidget("WeapActionProgressStart"));
215 m_WeaponActionProgressEnd = EditBoxWidget.Cast(m_MainWnd.FindAnyWidget("WeapActionProgressEnd"));
216
217
218 m_WidgetActionEvents.SetText("Events:");
219
220 }

References m_ButtonStart, m_MainWnd, m_Selector, m_SetInitStateB, m_SetInitStateI, m_WeaponActionProgressEnd, m_WeaponActionProgressStart, m_WeaponChange, m_WeaponHide, m_WeaponSlotH, m_WeaponSlotS, m_WidgetActionEvents, and m_WidgetActionRunning.

Referenced by PluginDayzPlayerDebug_Weapons().

◆ DestroyModuleWidgets()

void PluginDayzPlayerDebug_Weapons::DestroyModuleWidgets ( )
inlineprivate

Definition at line 222 of file PluginDayzPlayerDebug_Weapons.c.

223 {
224 }

Referenced by ~PluginDayzPlayerDebug_Weapons().

◆ FindAbilityConfig()

int PluginDayzPlayerDebug_Weapons::FindAbilityConfig ( int pAction,
int pActionT )
inlineprivate

Definition at line 162 of file PluginDayzPlayerDebug_Weapons.c.

163 {
164 int l = m_AbilityConfig.Count();
165 for (int i = 0; i < l; i++)
166 {
168 return i;
169 }
170 return -1;
171 }
ref array< ref PluginDayzPlayerDebug_AbilityConfig > m_AbilityConfig

References m_AbilityConfig, m_iAction, and m_iActionT.

Referenced by WeaponsInit().

◆ IsWeaponChange()

bool PluginDayzPlayerDebug_Weapons::IsWeaponChange ( out string pNewWeapon,
out int pHideSlot,
out int pShowSlot )
inlineprivate

◆ OnClick()

bool PluginDayzPlayerDebug_Weapons::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

buttons clicks

Definition at line 337 of file PluginDayzPlayerDebug_Weapons.c.

338 {
339 if (w == m_ButtonStart)
340 {
342 return true;
343 }
344 else if (w == m_SetInitStateB)
345 {
346 int frameI = m_SetInitStateI.GetText().ToInt();
347
349
350 HumanCommandWeapons hcw = player.GetCommandModifier_Weapons();
351 hcw.SetInitState(frameI);
352 }
353 else if (w == m_WeaponChange)
354 {
355 Print("Weapon Change pressed");
356
358 if (d == null)
359 {
360 Print("No dispatcher - cannot get selected weapon");
361 return false;
362 }
363
365 if (p == null)
366 {
367 Print("No selected object");
368 return false;
369 }
370
372 Print(p1.param1);
373
374 m_CH_WeaponChangeI = p1.param1;
375 m_CH_WeaponChangeSlotH = m_WeaponSlotH.GetText().ToInt();
376 m_CH_WeaponChangeSlotS = m_WeaponSlotS.GetText().ToInt();
377 }
378 else if (w == m_WeaponHide)
379 {
381 m_CH_WeaponChangeSlotH = m_WeaponSlotH.GetText().ToInt();
382 m_CH_WeaponChangeSlotS = m_WeaponSlotS.GetText().ToInt();
383 }
384
385
386 return false;
387 }
Dispatcher GetDispatcher()
Definition Dispatcher.c:20
const CallID CALL_ID_SCR_CNSL_GETSELECTEDITEM
Definition Dispatcher.c:11
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Definition param.c:12

References CALL_ID_SCR_CNSL_GETSELECTEDITEM, GetDispatcher(), GetGame(), GetPlayer(), m_ButtonStart, m_CH_WeaponChangeI, m_CH_WeaponChangeSlotH, m_CH_WeaponChangeSlotS, m_SetInitStateB, m_SetInitStateI, m_WeaponChange, m_WeaponHide, m_WeaponSlotH, m_WeaponSlotS, Print(), and WeaponsStartAction().

◆ Tick()

void PluginDayzPlayerDebug_Weapons::Tick ( )
inlineprivate

update running action

Definition at line 231 of file PluginDayzPlayerDebug_Weapons.c.

232 {
234 if (!player)
235 return;
236
237 if (player)
238 {
239 EntityAI entityInHands = player.GetHumanInventory().GetEntityInHands();
242 {
243 if (m_CurrentWeapon != w)
244 WeaponsInit(w);
245 }
246 else
247 m_Selector.ClearItems();
248 }
249
251 HumanCommandWeapons hcw = player.GetCommandModifier_Weapons();
252
253 string text = "Action: " + hcw.GetRunningAction().ToString() + " " + hcw.GetRunningActionType().ToString();
255
256
257 int aEvent = hcw.DebugIsEvent();
258 if (aEvent != -1)
259 {
260 string eventStr = "Event: ";
261 eventStr = eventStr + aEvent.ToString() + " ";
262 while (true)
263 {
264 aEvent = hcw.DebugIsEvent();
265 if (aEvent == -1)
266 break;
267
268 Print("Event: " + aEvent.ToString());
269
270 eventStr += aEvent.ToString();
271 eventStr += " ";
272 }
273
275 }
276 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

References Class::CastTo(), GetGame(), GetPlayer(), m_CurrentWeapon, m_Selector, m_WidgetActionEvents, m_WidgetActionRunning, Print(), and WeaponsInit().

◆ WeaponsInit()

void PluginDayzPlayerDebug_Weapons::WeaponsInit ( Weapon_Base w)
inlineprivate

select weapon abilities

Definition at line 282 of file PluginDayzPlayerDebug_Weapons.c.

283 {
284
285 m_Selector.ClearItems();
286
288 int abilityCount = w.GetAbilityCount();
289
290 for (int i = 0; i < abilityCount; ++i)
291 {
292 AbilityRecord rec = w.GetAbility(i);
293 int abConfigIndex = FindAbilityConfig(rec.m_action, rec.m_actionType);
294 if (abConfigIndex != -1)
296 }
297
298 m_Selector.AddItem("=========== All - not safe =========", NULL, 0);
299
300
301 // if (abilityCount == 0)
302 {
303 int l = m_AbilityConfig.Count();
304 for (int a = 0; a < l; a++)
306 }
307
309 }
void PluginDayzPlayerWeaponsDebugUserData(int pAction, int pActionType)
pair ( action, actionType )
Definition Weapon_Base.c:5
int FindAbilityConfig(int pAction, int pActionT)

References FindAbilityConfig(), m_AbilityConfig, m_CurrentWeapon, m_iAction, m_iActionT, m_Name, m_Selector, and PluginDayzPlayerWeaponsDebugUserData().

Referenced by Tick().

◆ WeaponsStartAction()

void PluginDayzPlayerDebug_Weapons::WeaponsStartAction ( )
inlineprivate

Definition at line 313 of file PluginDayzPlayerDebug_Weapons.c.

314 {
315 int row = m_Selector.GetSelectedRow();
316 if (row == -1)
317 return;
318
320 m_Selector.GetItemData(row, 0, userData);
321 if (userData)
322 {
323 m_CH_WeapAction = userData.GetAction();
324 m_CH_WeapActionType = userData.GetActionType();
327
328 Print("DayzPlayerImplement_Weapons::WeaponsStartAction");
329 }
330 }

References m_CH_WeapAction, m_CH_WeapActionProgressEnd, m_CH_WeapActionProgressStart, m_CH_WeapActionType, m_Selector, m_WeaponActionProgressEnd, m_WeaponActionProgressStart, and Print().

Referenced by OnClick().

Member Data Documentation

◆ m_AbilityConfig

ref array<ref PluginDayzPlayerDebug_AbilityConfig> PluginDayzPlayerDebug_Weapons::m_AbilityConfig
private

Definition at line 85 of file PluginDayzPlayerDebug_Weapons.c.

85 {
86 PluginDayzPlayerDebug_AbilityConfig("Rifle - Reload Mag Bullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADRIFLE_MAGAZINE_BULLET),
87 PluginDayzPlayerDebug_AbilityConfig("Rifle - Reload NoMag Buller", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADRIFLE_NOMAGAZINE_BULLET),
88 PluginDayzPlayerDebug_AbilityConfig("Rifle - Reload Mag NoBullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADRIFLE_MAGAZINE_NOBULLET),
89 PluginDayzPlayerDebug_AbilityConfig("Rifle - Reload NoMag NoBullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADRIFLE_NOMAGAZINE_NOBULLET),
90 PluginDayzPlayerDebug_AbilityConfig("Rifle - Reload Mag NoBullet lock", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADRIFLE_MAGAZINE_NOBULLET_OPEN),
91 PluginDayzPlayerDebug_AbilityConfig("Rifle - Reload NoMag NoBullet lock", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADRIFLE_NOMAGAZINE_NOBULLET_OPEN),
92 PluginDayzPlayerDebug_AbilityConfig("Rifle - Reload Clip NoBullet", WeaponActions.RELOAD_CLIP, WeaponActionReloadClipTypes.RELOADRIFLE_CLIP_NOBULLET),
93 PluginDayzPlayerDebug_AbilityConfig("Rifle - Reload Clip Bullet", WeaponActions.RELOAD_CLIP, WeaponActionReloadClipTypes.RELOADRIFLE_CLIP_BULLET),
94
95 PluginDayzPlayerDebug_AbilityConfig("Pistol Closed - Reload Mag Bullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADPISTOL_MAGAZINE_BULLET_CLOSED),
96 PluginDayzPlayerDebug_AbilityConfig("Pistol Closed - Reload NoMag Bullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADPISTOL_NOMAGAZINE_BULLET_CLOSED),
97 PluginDayzPlayerDebug_AbilityConfig("Pistol Closed Charged - Reload Mag NoBullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADPISTOL_MAGAZINE_NOBULLET_CLOSED_COCKED),
98 PluginDayzPlayerDebug_AbilityConfig("Pistol Closed Charged - Reload NoMag NoBullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADPISTOL_NOMAGAZINE_NOBULLET_CLOSED_COCKED),
99 PluginDayzPlayerDebug_AbilityConfig("Pistol Closed Discharged - Reload Mag NoBullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADPISTOL_MAGAZINE_NOBULLET_CLOSED_UNCOCKED),
100 PluginDayzPlayerDebug_AbilityConfig("Pistol Closed Discharged - Reload NoMag NoBullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADPISTOL_NOMAGAZINE_NOBULLET_CLOSED_UNCOCKED),
101 PluginDayzPlayerDebug_AbilityConfig("Pistol Opened - Reload NoMag ", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADPISTOL_NOMAGAZINE_NOBULLET_OPENED),
102 PluginDayzPlayerDebug_AbilityConfig("Pistol Opened - Reload Mag ", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADPISTOL_MAGAZINE_NOBULLET_OPENED),
103
104 PluginDayzPlayerDebug_AbilityConfig("Pistol Detach Magazine", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOAD_MAGAZINE_DETACH),
105 PluginDayzPlayerDebug_AbilityConfig("Rifle Detach Magazine", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADRIFLE_MAGAZINE_DETACH),
106
107 PluginDayzPlayerDebug_AbilityConfig("Sp Rifle - Reload Mag Bullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADSRIFLE_MAGAZINE_BULLET),
108 PluginDayzPlayerDebug_AbilityConfig("Sp Rifle - Reload NoMag Buller", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADSRIFLE_NOMAGAZINE_BULLET),
109 PluginDayzPlayerDebug_AbilityConfig("Sp Rifle - Reload Mag NoBullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADSRIFLE_MAGAZINE_NOBULLET),
110 PluginDayzPlayerDebug_AbilityConfig("Sp Rifle - Reload NoMag NoBullet", WeaponActions.RELOAD, WeaponActionReloadTypes.RELOADSRIFLE_NOMAGAZINE_NOBULLET),
111
112 PluginDayzPlayerDebug_AbilityConfig("Mechanism Opened", WeaponActions.MECHANISM, WeaponActionMechanismTypes.MECHANISM_OPENED),
113 PluginDayzPlayerDebug_AbilityConfig("Mechanism Closed", WeaponActions.MECHANISM, WeaponActionMechanismTypes.MECHANISM_CLOSED),
114 PluginDayzPlayerDebug_AbilityConfig("Mechanism Spec", WeaponActions.MECHANISM, WeaponActionMechanismTypes.MECHANISM_SPECIAL),
115 PluginDayzPlayerDebug_AbilityConfig("Mechanism Closed Uncocked", WeaponActions.MECHANISM, WeaponActionMechanismTypes.MECHANISM_CLOSED_UNCOCKED),
116
117 PluginDayzPlayerDebug_AbilityConfig("Chamb 1 Bullet Opened", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_ONEBULLET_OPENED),
118 PluginDayzPlayerDebug_AbilityConfig("Chamb 1 Bullet Closed", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_ONEBULLET_CLOSED),
119 PluginDayzPlayerDebug_AbilityConfig("Chamb 1 Bullet Unique Opened", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_ONEBULLET_UNIQUE_OPENED),
120 PluginDayzPlayerDebug_AbilityConfig("Chamb 1 Bullet Unique Closed", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_ONEBULLET_UNIQUE_CLOSED),
121
122 PluginDayzPlayerDebug_AbilityConfig("Chamb 2 Bullets Start", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_TWOBULLETS_START),
123 PluginDayzPlayerDebug_AbilityConfig("Chamb 2 Bullets End", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_TWOBULLETS_END),
124
125 PluginDayzPlayerDebug_AbilityConfig("Chamb Loopable Start Closed", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_STARTLOOPABLE_CLOSED),
126 PluginDayzPlayerDebug_AbilityConfig("Chamb Loopable Start Closed keep bullet", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_STARTLOOPABLE_CLOSED_KEEP),
127 PluginDayzPlayerDebug_AbilityConfig("Chamb Loopable Start Opened", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_STARTLOOPABLE_OPENED),
128 PluginDayzPlayerDebug_AbilityConfig("Chamb Loopable End", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_ENDLOOPABLE),
129
130 PluginDayzPlayerDebug_AbilityConfig("Chamb Loopable Shotgun Start Uncocked", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_STARTLOOPABLE_SHOTGUN_UNCOCKED),
131 PluginDayzPlayerDebug_AbilityConfig("Chamb Loopable Shotgun Start Cocked", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_STARTLOOPABLE_SHOTGUN_COCKED),
132
133 PluginDayzPlayerDebug_AbilityConfig("Chamb 1", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_DOUBLE_1),
134 PluginDayzPlayerDebug_AbilityConfig("Chamb 2", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_DOUBLE_2),
135 PluginDayzPlayerDebug_AbilityConfig("Chamb 3", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_DOUBLE_3),
136 PluginDayzPlayerDebug_AbilityConfig("Chamb 4", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_DOUBLE_4),
137
138 PluginDayzPlayerDebug_AbilityConfig("Crossbow Opened", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_CROSSBOW_OPENED),
139 PluginDayzPlayerDebug_AbilityConfig("Crossbow Close", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_CROSSBOW_CLOSED),
140 PluginDayzPlayerDebug_AbilityConfig("Crossbow Full", WeaponActions.CHAMBERING, WeaponActionChamberingTypes.CHAMBERING_CROSSBOW_FULL),
141
142 PluginDayzPlayerDebug_AbilityConfig("INTERRUPT", WeaponActions.INTERRUPT, -1),
143
144
145 PluginDayzPlayerDebug_AbilityConfig("Chamb Loader 1 Bullet Opened", WeaponActions.CHAMBERING_LOADER, WeaponActionChamberingLoaderTypes.CHAMBERINGLOADER_OPENED),
146 PluginDayzPlayerDebug_AbilityConfig("Chamb Loader 1 Bullet Closed", WeaponActions.CHAMBERING_LOADER, WeaponActionChamberingLoaderTypes.CHAMBERINGLOADER_CLOSED),
147
148 PluginDayzPlayerDebug_AbilityConfig("Unjamming Start", WeaponActions.UNJAMMING, WeaponActionUnjammingTypes.UNJAMMING_START),
149 PluginDayzPlayerDebug_AbilityConfig("Unjamming End", WeaponActions.UNJAMMING, WeaponActionUnjammingTypes.UNJAMMING_END),
150 PluginDayzPlayerDebug_AbilityConfig("Unjamming Interrupt", WeaponActions.UNJAMMING, WeaponActionUnjammingTypes.UNJAMMING_INTERRUPT),
151
154 PluginDayzPlayerDebug_AbilityConfig("Fire Empty Cocked", WeaponActions.FIRE, WeaponActionFireTypes.FIRE_COCKED),
155 PluginDayzPlayerDebug_AbilityConfig("Fire Empty Uncocked", WeaponActions.FIRE, WeaponActionFireTypes.FIRE_UNCOCKED),
158
159 };
class PluginDayzPlayerWeaponsDebugUserData PluginDayzPlayerDebug_AbilityConfig(string pName, int pAction, int pActionT)
WeaponActionReloadClipTypes
Definition human.c:841
WeaponActionChamberingTypes
Definition human.c:856
WeaponActions
actions
Definition human.c:796
WeaponActionChamberingLoaderTypes
Definition human.c:886
WeaponActionReloadTypes
Definition human.c:812
WeaponActionUnjammingTypes
Definition human.c:892
WeaponActionFireTypes
Definition human.c:900

Referenced by FindAbilityConfig(), and WeaponsInit().

◆ m_ButtonStart

ButtonWidget PluginDayzPlayerDebug_Weapons::m_ButtonStart
private

Definition at line 56 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and OnClick().

◆ m_CH_LastWeapAction

int PluginDayzPlayerDebug_Weapons::m_CH_LastWeapAction = -1
private

Definition at line 72 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CommandHandler().

◆ m_CH_LastWeapActionType

int PluginDayzPlayerDebug_Weapons::m_CH_LastWeapActionType = -1
private

Definition at line 73 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CommandHandler().

◆ m_CH_WeapAction

int PluginDayzPlayerDebug_Weapons::m_CH_WeapAction = -1
private

Definition at line 70 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CommandHandler(), and WeaponsStartAction().

◆ m_CH_WeapActionProgressEnd

float PluginDayzPlayerDebug_Weapons::m_CH_WeapActionProgressEnd = 1
private

Definition at line 75 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CommandHandler(), and WeaponsStartAction().

◆ m_CH_WeapActionProgressStart

float PluginDayzPlayerDebug_Weapons::m_CH_WeapActionProgressStart = 0
private

Definition at line 74 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CommandHandler(), and WeaponsStartAction().

◆ m_CH_WeapActionType

int PluginDayzPlayerDebug_Weapons::m_CH_WeapActionType = -1
private

Definition at line 71 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CommandHandler(), and WeaponsStartAction().

◆ m_CH_WeaponChangeI

string PluginDayzPlayerDebug_Weapons::m_CH_WeaponChangeI
private

Definition at line 77 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by IsWeaponChange(), and OnClick().

◆ m_CH_WeaponChangeSlotH

int PluginDayzPlayerDebug_Weapons::m_CH_WeaponChangeSlotH = -1
private

Definition at line 78 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by IsWeaponChange(), and OnClick().

◆ m_CH_WeaponChangeSlotS

int PluginDayzPlayerDebug_Weapons::m_CH_WeaponChangeSlotS = -1
private

Definition at line 79 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by IsWeaponChange(), and OnClick().

◆ m_CurrentWeapon

Weapon_Base PluginDayzPlayerDebug_Weapons::m_CurrentWeapon
private

Definition at line 59 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by Tick(), and WeaponsInit().

◆ m_MainWnd

Widget PluginDayzPlayerDebug_Weapons::m_MainWnd
private

◆ m_Selector

TextListboxWidget PluginDayzPlayerDebug_Weapons::m_Selector
private

◆ m_SetInitStateB

ButtonWidget PluginDayzPlayerDebug_Weapons::m_SetInitStateB
private

Definition at line 61 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and OnClick().

◆ m_SetInitStateI

EditBoxWidget PluginDayzPlayerDebug_Weapons::m_SetInitStateI
private

Definition at line 60 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and OnClick().

◆ m_WeaponActionProgressEnd

EditBoxWidget PluginDayzPlayerDebug_Weapons::m_WeaponActionProgressEnd
private

Definition at line 67 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and WeaponsStartAction().

◆ m_WeaponActionProgressStart

EditBoxWidget PluginDayzPlayerDebug_Weapons::m_WeaponActionProgressStart
private

Definition at line 66 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and WeaponsStartAction().

◆ m_WeaponChange

ButtonWidget PluginDayzPlayerDebug_Weapons::m_WeaponChange
private

Definition at line 62 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and OnClick().

◆ m_WeaponHide

ButtonWidget PluginDayzPlayerDebug_Weapons::m_WeaponHide
private

Definition at line 63 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and OnClick().

◆ m_WeaponSlotH

EditBoxWidget PluginDayzPlayerDebug_Weapons::m_WeaponSlotH
private

Definition at line 64 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and OnClick().

◆ m_WeaponSlotS

EditBoxWidget PluginDayzPlayerDebug_Weapons::m_WeaponSlotS
private

Definition at line 65 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and OnClick().

◆ m_WidgetActionEvents

TextWidget PluginDayzPlayerDebug_Weapons::m_WidgetActionEvents
private

Definition at line 58 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and Tick().

◆ m_WidgetActionRunning

TextWidget PluginDayzPlayerDebug_Weapons::m_WidgetActionRunning
private

Definition at line 57 of file PluginDayzPlayerDebug_Weapons.c.

Referenced by CreateModuleWidgets(), and Tick().


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