DayZ 1.24
Loading...
Searching...
No Matches
ToolBase Class Reference
Inheritance diagram for ToolBase:
[legend]

Private Member Functions

override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void Cleaver ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void CombatKnife ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void Machete ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void FirefighterAxe ()
 
override void SetActions ()
 
override void SetActions ()
 
override void SetActions ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override bool CanPutAsAttachment (EntityAI parent)
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
override void SetActions ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override bool CanPutAsAttachment (EntityAI parent)
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
override void SetActions ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void Machete ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void Machete ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void Pliers ()
 
override void SetActions ()
 
void Screwdriver ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void Sickle ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
override bool IsMeleeFinisher ()
 
override array< intGetValidFinishers ()
 
override void SetActions ()
 
void Sword ()
 
override bool IsMeleeFinisher ()
 
override void SetActions ()
 
override void SetActions ()
 

Detailed Description

Definition at line 1 of file BoneKnife.c.

Member Function Documentation

◆ CanPutAsAttachment() [1/2]

override bool ToolBase::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 13 of file AK_Bayonet.c.

14 {
15 if (!super.CanPutAsAttachment(parent)) return false;
16 if (parent.FindAttachmentBySlotName("suppressorImpro") == null && parent.FindAttachmentBySlotName("weaponMuzzleAK") == null)
17 return true;
18 return false;
19 }

◆ CanPutAsAttachment() [2/2]

override bool ToolBase::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 13 of file M9A1_Bayonet.c.

14 {
15 if (!super.CanPutAsAttachment(parent)) return false;
16 if (parent.FindAttachmentBySlotName("suppressorImpro") == null && parent.FindAttachmentBySlotName("weaponMuzzleM4") == null)
17 return true;
18 return false;
19 }

◆ Cleaver()

void ToolBase::Cleaver ( )
inlineprivate

Definition at line 3 of file Cleaver.c.

4 {
5 }

◆ CombatKnife()

void ToolBase::CombatKnife ( )
inlineprivate

Definition at line 3 of file CombatKnife.c.

4 {
5 }

◆ FirefighterAxe()

void ToolBase::FirefighterAxe ( )
inlineprivate

Definition at line 3 of file FirefighterAxe.c.

4 {
5 }

◆ GetValidFinishers() [1/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file BoneKnife.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [2/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 12 of file Cleaver.c.

13 {
14 return {EMeleeHitType.FINISHER_NECKSTAB};
15 }

◆ GetValidFinishers() [3/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 12 of file CombatKnife.c.

13 {
14 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
15 }

◆ GetValidFinishers() [4/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 12 of file CrudeMachete.c.

13 {
14 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
15 }

◆ GetValidFinishers() [5/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file FangeKnife.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [6/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file HuntingKnife.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [7/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file AK_Bayonet.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [8/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file M9A1_Bayonet.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [9/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file KitchenKnife.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [10/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file KukriKnife.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [11/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 12 of file Machete.c.

13 {
14 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
15 }

◆ GetValidFinishers() [12/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 12 of file OrientalMachete.c.

13 {
14 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
15 }

◆ GetValidFinishers() [13/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 13 of file Screwdriver.c.

14 {
15 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
16 }

◆ GetValidFinishers() [14/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 12 of file Sickle.c.

13 {
14 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
15 }

◆ GetValidFinishers() [15/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file SteakKnife.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ GetValidFinishers() [16/16]

override array< int > ToolBase::GetValidFinishers ( )
inlineprivate

Definition at line 8 of file StoneKnife.c.

9 {
10 return {EMeleeHitType.FINISHER_LIVERSTAB, EMeleeHitType.FINISHER_NECKSTAB};
11 }

◆ IsMeleeFinisher() [1/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file BoneKnife.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [2/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 7 of file Cleaver.c.

8 {
9 return true;
10 }

◆ IsMeleeFinisher() [3/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 7 of file CombatKnife.c.

8 {
9 return true;
10 }

◆ IsMeleeFinisher() [4/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 7 of file CrudeMachete.c.

8 {
9 return true;
10 }

◆ IsMeleeFinisher() [5/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file FangeKnife.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [6/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file HuntingKnife.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [7/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file AK_Bayonet.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [8/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file M9A1_Bayonet.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [9/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file KitchenKnife.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [10/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file KukriKnife.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [11/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 7 of file Machete.c.

8 {
9 return true;
10 }

◆ IsMeleeFinisher() [12/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 7 of file OrientalMachete.c.

8 {
9 return true;
10 }

◆ IsMeleeFinisher() [13/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 8 of file Screwdriver.c.

9 {
10 return true;
11 }

◆ IsMeleeFinisher() [14/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 7 of file Sickle.c.

8 {
9 return true;
10 }

◆ IsMeleeFinisher() [15/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file SteakKnife.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [16/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 3 of file StoneKnife.c.

4 {
5 return true;
6 }

◆ IsMeleeFinisher() [17/17]

override bool ToolBase::IsMeleeFinisher ( )
inlineprivate

Definition at line 7 of file Sword.c.

8 {
9 return false;
10 }

◆ Machete() [1/3]

void ToolBase::Machete ( )
inlineprivate

Definition at line 3 of file CrudeMachete.c.

4 {
5 }

◆ Machete() [2/3]

void ToolBase::Machete ( )
inlineprivate

Definition at line 3 of file Machete.c.

4 {
5 }

◆ Machete() [3/3]

void ToolBase::Machete ( )
inlineprivate

Definition at line 3 of file OrientalMachete.c.

4 {
5 }

◆ OnWasAttached() [1/2]

override void ToolBase::OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 21 of file AK_Bayonet.c.

22 {
23 super.OnWasAttached(parent, slot_id);
24
25 if (parent.IsWeapon())
26 parent.SetBayonetAttached(true, slot_id);
27 }

◆ OnWasAttached() [2/2]

override void ToolBase::OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 21 of file M9A1_Bayonet.c.

22 {
23 super.OnWasAttached(parent, slot_id);
24
25 if (parent.IsWeapon())
26 parent.SetBayonetAttached(true, slot_id);
27 }

◆ OnWasDetached() [1/2]

override void ToolBase::OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 29 of file AK_Bayonet.c.

30 {
31 super.OnWasDetached(parent, slot_id);
32
33 if (parent.IsWeapon())
34 parent.SetBayonetAttached(false);
35 }

◆ OnWasDetached() [2/2]

override void ToolBase::OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

Definition at line 29 of file M9A1_Bayonet.c.

30 {
31 super.OnWasDetached(parent, slot_id);
32
33 if (parent.IsWeapon())
34 parent.SetBayonetAttached(false);
35 }

◆ Pliers()

void ToolBase::Pliers ( )
inlineprivate

Definition at line 3 of file Pliers.c.

4 {
5 m_MineDisarmRate = 100;
6 }

◆ Screwdriver()

void ToolBase::Screwdriver ( )
inlineprivate

Definition at line 3 of file Screwdriver.c.

4 {
5 m_MineDisarmRate = 80;
6 }

◆ SetActions() [1/22]

override void ToolBase::SetActions ( )
inlineprivate

◆ SetActions() [2/22]

◆ SetActions() [3/22]

override void ToolBase::SetActions ( )
inlineprivate

Definition at line 17 of file CombatKnife.c.

18 {
19 super.SetActions();
20
33 }
ActionDisarmExplosiveCB ActionContinuousBaseCB ActionDisarmExplosive()
ActionDisarmMineCB ActionContinuousBaseCB ActionDisarmMine()

References ActionDisarmExplosive(), ActionDisarmMine(), ActionSkinning(), and AddAction().

◆ SetActions() [4/22]

◆ SetActions() [5/22]

◆ SetActions() [6/22]

override void ToolBase::SetActions ( )
inlineprivate

Definition at line 7 of file FirefighterAxe.c.

8 {
9 super.SetActions();
10 AddAction(ActionMineTree);
13 //AddAction(ActionRepairPart);
15 //AddAction(ActionBuildPart);
16 //AddAction(ActionDestroyPart);
17 //AddAction(ActionSawPlanks);
21 }

References ActionSkinning(), and AddAction().

◆ SetActions() [7/22]

override void ToolBase::SetActions ( )
inlineprivate

Definition at line 3 of file Hacksaw.c.

4 {
5 super.SetActions();
6
11 //AddAction(ActionDestroyCombinationLock);
12 //AddAction(ActionDestroyPart);
15 }

References ActionSkinning(), and AddAction().

◆ SetActions() [8/22]

override void ToolBase::SetActions ( )
inlineprivate

Definition at line 3 of file Hatchet.c.

4 {
5 super.SetActions();
6
7 AddAction(ActionMineTree);
13 //AddAction(ActionDestroyPart);
14 //AddAction(ActionSawPlanks);
18 }

References ActionSkinning(), and AddAction().

◆ SetActions() [9/22]

◆ SetActions() [10/22]

◆ SetActions() [11/22]

◆ SetActions() [12/22]

◆ SetActions() [13/22]

◆ SetActions() [14/22]

override void ToolBase::SetActions ( )
inlineprivate

◆ SetActions() [15/22]

◆ SetActions() [16/22]

◆ SetActions() [17/22]

◆ SetActions() [18/22]

override void ToolBase::SetActions ( )
inlineprivate

◆ SetActions() [19/22]

◆ SetActions() [20/22]

override void ToolBase::SetActions ( )
inlineprivate

◆ SetActions() [21/22]

override void ToolBase::SetActions ( )
inlineprivate

Definition at line 12 of file Sword.c.

References ActionSkinning(), and AddAction().

◆ SetActions() [22/22]

override void ToolBase::SetActions ( )
inlineprivate

Definition at line 3 of file WoodAxe.c.

4 {
5 super.SetActions();
6
7 //AddAction(ActionBuildPartSwitch);
8 AddAction(ActionMineTree);
11 //AddAction(ActionRepairPart);
13 //AddAction(ActionBuildPart);
17 }

References ActionSkinning(), and AddAction().

◆ Sickle()

void ToolBase::Sickle ( )
inlineprivate

Definition at line 3 of file Sickle.c.

4 {
5 }

◆ Sword()

void ToolBase::Sword ( )
inlineprivate

Definition at line 3 of file Sword.c.

4 {
5 }

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