Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Clothing Class Reference
Inheritance diagram for Clothing:
Backpack_Base Bandana_ColorBase Belt_Base Glasses_Base Gloves_Base HeadGear_Base KnifeHolster LeatherMoccasinsShoes_Natural Mask_Base Pants_Base Shemag_ColorBase Shoes_Base Splint_Applied Top_Base Vest_Base

Protected Member Functions

void AttachLightOnHead (EntityAI person)
void CheckParent ()
void CreateHeadtorchLight ()
override ItemBase GetLightSourceItem ()
void InitGlobalExclusionValues ()
override bool IsLightSource ()
override void OnInvisibleSet (bool invisible)
void OnLightCreated ()
override void OnWasAttached (EntityAI parent, int slot_id)
override void OnWasDetached (EntityAI parent, int slot_id)
override void OnWork (float consumed_energy)
override void OnWorkStart ()
override void OnWorkStop ()
override void SetActions ()

Private Member Functions

override bool CanPutAsAttachment (EntityAI parent)
override bool CanPutInCargo (EntityAI parent)
void Headtorch_ColorBase ()
override void SetActions ()
override void SetActions ()
override void SwitchItemSelectionTextureEx (EItemManipulationContext context, Param par=null)

Private Attributes

HeadtorchLight m_Light
ref Timer m_Timer

Static Private Attributes

static int GLASS_ID = 5
static string LIGHT_OFF_GLASS = "dz\\characters\\headgear\\data\\HeadTorchGlass.rvmat"
static string LIGHT_OFF_REFLECTOR = "dz\\characters\\headgear\\data\\HeadTorch.rvmat"
static string LIGHT_ON_GLASS = "dz\\characters\\headgear\\data\\HeadTorchGlass_on.rvmat"
static string LIGHT_ON_GLASS_RED = "dz\\characters\\headgear\\data\\HeadTorchGlass_on_red.rvmat"
static string LIGHT_ON_REFLECTOR = "dz\\characters\\headgear\\data\\HeadTorch_ON.rvmat"
static string LIGHT_ON_REFLECTOR_RED = "dz\\characters\\headgear\\data\\HeadTorch_ON_red.rvmat"
static string m_OffHeadLightPoint = "beamStart"
static string m_OffHeadLightTarget = "beamEnd"
static vector m_OnHeadLocalOri = Vector(0,90,0)
static vector m_OnHeadLocalPos = Vector(0.12,0.15,0)
static int REFLECTOR_ID = 4

Detailed Description

Definition at line 1 of file armband_colorbase.c.

Member Function Documentation

◆ AttachLightOnHead()

void AttachLightOnHead ( EntityAI person)
inlineprotected

Definition at line 167 of file headtorch_colorbase.c.

References m_Light, m_OnHeadLocalOri, and m_OnHeadLocalPos.

Referenced by CreateHeadtorchLight(), and OnWasAttached().

◆ CanPutAsAttachment()

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 13 of file armband_colorbase.c.

References GetQuantity().

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 3 of file armband_colorbase.c.

References GetNumberOfItems(), and EntityAI::IsMan().

◆ CheckParent()

void CheckParent ( )
inlineprotected

Definition at line 39 of file headtorch_colorbase.c.

References m_Timer.

◆ CreateHeadtorchLight()

void CreateHeadtorchLight ( )
inlineprotected

◆ GetLightSourceItem()

override ItemBase GetLightSourceItem ( )
inlineprotected

◆ Headtorch_ColorBase()

void Headtorch_ColorBase ( )
inlineprivate

Definition at line 22 of file headtorch_colorbase.c.

References CALL_CATEGORY_SYSTEM, g_Game, and m_Timer.

◆ InitGlobalExclusionValues()

void InitGlobalExclusionValues ( )
inlineprotected

Definition at line 33 of file headtorch_colorbase.c.

◆ IsLightSource()

override bool IsLightSource ( )
inlineprotected

Definition at line 235 of file headtorch_colorbase.c.

◆ OnInvisibleSet()

override void OnInvisibleSet ( bool invisible)
inlineprotected

Definition at line 245 of file headtorch_colorbase.c.

References m_Light.

◆ OnLightCreated()

void OnLightCreated ( )
inlineprotected

Definition at line 117 of file headtorch_colorbase.c.

References m_Light.

Referenced by CreateHeadtorchLight().

◆ OnWasAttached()

override void OnWasAttached ( EntityAI parent,
int slot_id )
inlineprotected

Definition at line 197 of file headtorch_colorbase.c.

References AttachLightOnHead(), and m_Light.

◆ OnWasDetached()

override void OnWasDetached ( EntityAI parent,
int slot_id )
inlineprotected

Definition at line 212 of file headtorch_colorbase.c.

References m_Light, m_OffHeadLightPoint, and m_OffHeadLightTarget.

◆ OnWork()

override void OnWork ( float consumed_energy)
inlineprotected

Definition at line 93 of file headtorch_colorbase.c.

References g_Game, Battery9V::GetEfficiency0To1(), and m_Light.

◆ OnWorkStart()

override void OnWorkStart ( )
inlineprotected

◆ OnWorkStop()

override void OnWorkStop ( )
inlineprotected

◆ SetActions() [1/3]

override void SetActions ( )
inlineprivate

Definition at line 23 of file armband_colorbase.c.

References AddAction().

◆ SetActions() [2/3]

override void SetActions ( )
inlineprotected

Definition at line 226 of file headtorch_colorbase.c.

References AddAction().

◆ SetActions() [3/3]

override void SetActions ( )
inlineprivate

Definition at line 3 of file witchhood.c.

References AddAction().

◆ SwitchItemSelectionTextureEx()

override void SwitchItemSelectionTextureEx ( EItemManipulationContext context,
Param par = null )
inlineprivate

Definition at line 29 of file armband_colorbase.c.

Field Documentation

◆ GLASS_ID

int GLASS_ID = 5
staticprivate

Definition at line 6 of file headtorch_colorbase.c.

Referenced by OnWorkStart(), and OnWorkStop().

◆ LIGHT_OFF_GLASS

string LIGHT_OFF_GLASS = "dz\\characters\\headgear\\data\\HeadTorchGlass.rvmat"
staticprivate

Definition at line 8 of file headtorch_colorbase.c.

Referenced by OnWorkStop().

◆ LIGHT_OFF_REFLECTOR

string LIGHT_OFF_REFLECTOR = "dz\\characters\\headgear\\data\\HeadTorch.rvmat"
staticprivate

Definition at line 9 of file headtorch_colorbase.c.

Referenced by OnWorkStop().

◆ LIGHT_ON_GLASS

string LIGHT_ON_GLASS = "dz\\characters\\headgear\\data\\HeadTorchGlass_on.rvmat"
staticprivate

Definition at line 10 of file headtorch_colorbase.c.

Referenced by OnWorkStart().

◆ LIGHT_ON_GLASS_RED

string LIGHT_ON_GLASS_RED = "dz\\characters\\headgear\\data\\HeadTorchGlass_on_red.rvmat"
staticprivate

Definition at line 11 of file headtorch_colorbase.c.

Referenced by OnWorkStart().

◆ LIGHT_ON_REFLECTOR

string LIGHT_ON_REFLECTOR = "dz\\characters\\headgear\\data\\HeadTorch_ON.rvmat"
staticprivate

Definition at line 12 of file headtorch_colorbase.c.

Referenced by OnWorkStart().

◆ LIGHT_ON_REFLECTOR_RED

string LIGHT_ON_REFLECTOR_RED = "dz\\characters\\headgear\\data\\HeadTorch_ON_red.rvmat"
staticprivate

Definition at line 13 of file headtorch_colorbase.c.

Referenced by OnWorkStart().

◆ m_Light

◆ m_OffHeadLightPoint

string m_OffHeadLightPoint = "beamStart"
staticprivate

Definition at line 17 of file headtorch_colorbase.c.

Referenced by CreateHeadtorchLight(), and OnWasDetached().

◆ m_OffHeadLightTarget

string m_OffHeadLightTarget = "beamEnd"
staticprivate

Definition at line 18 of file headtorch_colorbase.c.

Referenced by CreateHeadtorchLight(), and OnWasDetached().

◆ m_OnHeadLocalOri

vector m_OnHeadLocalOri = Vector(0,90,0)
staticprivate

Definition at line 16 of file headtorch_colorbase.c.

Referenced by AttachLightOnHead().

◆ m_OnHeadLocalPos

vector m_OnHeadLocalPos = Vector(0.12,0.15,0)
staticprivate

Definition at line 15 of file headtorch_colorbase.c.

Referenced by AttachLightOnHead().

◆ m_Timer

ref Timer m_Timer
private

Definition at line 20 of file headtorch_colorbase.c.

Referenced by CheckParent(), and Headtorch_ColorBase().

◆ REFLECTOR_ID

int REFLECTOR_ID = 4
staticprivate

Definition at line 5 of file headtorch_colorbase.c.

Referenced by OnWorkStart(), and OnWorkStop().


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