SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.WeaponComponentCollection Class Reference

Public Member Functions

IEnumerator< WeaponComponentGetEnumerator ()
 
WeaponComponent GetClipComponent (int index)
 
WeaponComponent GetScopeComponent (int index)
 
WeaponComponent GetSuppressorComponent ()
 
WeaponComponent GetFlashLightComponent ()
 
WeaponComponent GetLuxuryFinishComponent ()
 

Public Attributes

int Count => _components.Length
 

Properties

WeaponComponent this[int index] [get]
 
WeaponComponent this[WeaponComponentHash componentHash] [get]
 
int ClipVariationsCount [get]
 
int ScopeVariationsCount [get]
 

Member Function Documentation

◆ GetClipComponent()

WeaponComponent GTA.WeaponComponentCollection.GetClipComponent ( int  index)

◆ GetEnumerator()

IEnumerator<WeaponComponent> GTA.WeaponComponentCollection.GetEnumerator ( )

◆ GetFlashLightComponent()

WeaponComponent GTA.WeaponComponentCollection.GetFlashLightComponent ( )

◆ GetLuxuryFinishComponent()

WeaponComponent GTA.WeaponComponentCollection.GetLuxuryFinishComponent ( )

◆ GetScopeComponent()

WeaponComponent GTA.WeaponComponentCollection.GetScopeComponent ( int  index)

◆ GetSuppressorComponent()

WeaponComponent GTA.WeaponComponentCollection.GetSuppressorComponent ( )

Member Data Documentation

◆ Count

int GTA.WeaponComponentCollection.Count => _components.Length

Property Documentation

◆ ClipVariationsCount

int GTA.WeaponComponentCollection.ClipVariationsCount
get

◆ ScopeVariationsCount

int GTA.WeaponComponentCollection.ScopeVariationsCount
get

◆ this[int index]

WeaponComponent GTA.WeaponComponentCollection.this[int index]
get

◆ this[WeaponComponentHash componentHash]

WeaponComponent GTA.WeaponComponentCollection.this[WeaponComponentHash componentHash]
get

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