Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_MeleeWeaponProperties Interface Reference
Inheritance diagram for SCR_MeleeWeaponProperties:
[legend]

Public Member Functions

SCR_BayonetComponent GetBayonet ()
 Returns instance of attached bayonet.
 
float GetWeaponDamage ()
 Value of damage dealt to the target.
 
float GetWeaponRange ()
 Range in meters that is used as max raycast length.
 
float GetWeaponMeleeAccuracy ()
 Size of the raysphere used to trace the target.
 
override void EOnInit (IEntity owner)
 
override void OnPostInit (IEntity owner)
 

Protected Member Functions

void OnAttachmentAdded (IEntity item, int slotID)
 
void OnAttachmentRemoved (IEntity item, int slotID)
 

Protected Attributes

float m_fAccuracy
 
SCR_BayonetComponent m_Bayonet
 

Member Function Documentation

◆ EOnInit()

override void SCR_MeleeWeaponProperties.EOnInit ( IEntity  owner)

◆ GetBayonet()

SCR_BayonetComponent SCR_MeleeWeaponProperties.GetBayonet ( )

Returns instance of attached bayonet.

◆ GetWeaponDamage()

float SCR_MeleeWeaponProperties.GetWeaponDamage ( )

Value of damage dealt to the target.

◆ GetWeaponMeleeAccuracy()

float SCR_MeleeWeaponProperties.GetWeaponMeleeAccuracy ( )

Size of the raysphere used to trace the target.

◆ GetWeaponRange()

float SCR_MeleeWeaponProperties.GetWeaponRange ( )

Range in meters that is used as max raycast length.

◆ OnAttachmentAdded()

void SCR_MeleeWeaponProperties.OnAttachmentAdded ( IEntity  item,
int  slotID 
)
protected

◆ OnAttachmentRemoved()

void SCR_MeleeWeaponProperties.OnAttachmentRemoved ( IEntity  item,
int  slotID 
)
protected

◆ OnPostInit()

override void SCR_MeleeWeaponProperties.OnPostInit ( IEntity  owner)

Member Data Documentation

◆ m_Bayonet

SCR_BayonetComponent SCR_MeleeWeaponProperties.m_Bayonet
protected

◆ m_fAccuracy

float SCR_MeleeWeaponProperties.m_fAccuracy
protected

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