8 super.OnClick(w,
x,
y, button);
14 super.OnChange(w,
x,
y, finished);
145 g_Game.GetInput().ChangeGameFocus(1);
146 g_Game.GetUIManager().ShowUICursor(
true);
156 g_Game.GetInput().ChangeGameFocus(-1);
157 g_Game.GetUIManager().ShowUICursor(
false);
200 super.OnUpdate(delta_time);
224 m_MainWnd =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/debug/day_z_infecteddebug.layout");
374 FreeDebugCamera.GetInstance().SetActive(
true);
376 FreeDebugCamera.GetInstance().SetActive(
false);
385 infected.GetInputController().OverrideMovementSpeed(
true,
m_MovementSpeedEB.GetText().ToFloat());
390 moveCommand.SetStanceVariation(
m_StanceCB.GetCurrentItem());
401 infected.StartCommand_Vault(
m_VaultingCB.GetCurrentItem());
406 infected.StartCommand_Vault(-1);
416 float hitDir =
m_HitDirEB.GetText().ToFloat();
420 infected.StartCommand_Hit(heavyHit, bodyPart, hitDir);
427 float deathDir =
m_HitDirEB.GetText().ToFloat();
429 infected.StartCommand_Death(deathType, deathDir);
438 infected.StartCommand_Attack(null, attackType, attackDir);
479 for (
int it = 0; it < shapesArr.Count(); ++it )
481 Shape shape = shapesArr[it];
const int ECE_EQUIP_ATTACHMENTS
const int ECE_PLACE_ON_SURFACE
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
static void RemoveShape(out Shape shape)
static Shape DrawSphere(vector pos, float size=1, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE)
Class PluginMessageManager provides some basic Message Distribution mechanics, if you get instance of...
ButtonWidget m_KnucleOutButton
ButtonWidget m_CardFightButton
bool m_CH_DoTurn
command handler values
XComboBoxWidget m_StanceCB
movement card
ButtonWidget m_StartTurnButton
void ShowWidgets(bool show)
ButtonWidget m_StartDeathButton
void CleanupDebugShapes(array< Shape > shapesArr)
XComboBoxWidget m_HitBodyPartCB
XComboBoxWidget m_TurnTypeCB
EditBoxWidget m_MovementSpeedEB
ButtonWidget m_StartHitButton
ref Timer m_TickTimer
status refresh timer
EditBoxWidget m_HitDirEB
fight card
void ToggleDebugWindowSetMode(int pMode)
Widget m_MainWnd
main controls
XComboBoxWidget m_AttackDirCB
XComboBoxWidget m_AttackTypeCB
XComboBoxWidget m_HitTypeCB
DayZInfected m_ControlledInfected
controlled instance
XComboBoxWidget m_DeathTypeCB
void ~PluginDayZInfectedDebug()
XComboBoxWidget m_MindStateCB
ButtonWidget m_StartAttackButton
ButtonWidget m_CardMovementButton
XComboBoxWidget m_VaultingCB
void ToggleDebugWindowEvent()
ButtonWidget m_StartVaultButton
bool OnClick(Widget w, int x, int y, int button)
buttons clicks
void PluginDayZInfectedDebug()
ButtonWidget m_SpawnEntityButton
EditBoxWidget m_TurnDirectionEB
ref PluginDayZInfectedDebugUIHandler m_pUIHandler
void CommandHandler(DayZInfected infected)
void SpawnNewInfectedEntity()
XComboBoxWidget m_CrawlingTypeCB
override void OnUpdate(float delta_time)
ButtonWidget m_StartCrawlingButton
ref array< Shape > m_DebugShapes
void DestroyModuleWidgets()
Widget m_CardMovementFrame
bool OnChange(Widget w, int x, int y, bool finished)
void CreateModuleWidgets()
ref array< ref PluginDayZInfectedDebugAttackDesc > m_AttackDescriptors
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
class PluginDayZInfectedDebugUIHandler extends ScriptedWidgetEventHandler PluginDayZInfectedDebugAttackDesc(string pName, int pValue)