C# Class GTAVBETrainerDotNet.Feature.Weapon

Weapon features
Afficher le fichier Open project: betenner/betrainer

Méthodes publiques

Свойство Type Description
ExplosiveAmmo bool
ExplosiveMelee bool
FireAmmo bool
InfiniteAmmo bool
NoReload bool
PermanentParachute bool
VehicleRocket bool

Méthodes publiques

Méthode Description
ApplyWeaponSet ( WeaponSet set ) : void

Applies weapon set to player

GetAllWeapons ( MenuItem sender ) : void

Gets all weapons

GetCurrentWeaponSet ( ) : WeaponSet

Gets the current player's weapon set

HasAttachment ( int weaponHash, int attachmentHash ) : bool

Does player's specified weapon has the specified attachment?

HasWeapon ( int weaponHash ) : bool

Does player have this weapon

InitFeatures ( ) : void

Initializes features

PreEnterSpecificWeaponMenu ( MenuItem sender ) : void

Pre-enters specific weapn menu

SetAttachment ( MenuItem sender ) : void

Sets attachment

SetExplosiveAmmo ( MenuItem sender ) : void

Sets explosive ammo

SetExplosiveMelee ( MenuItem sender ) : void

Sets explosive melee

SetFillAmmoClip ( MenuItem sender ) : void

Sets fill ammo & clip

SetFireAmmo ( MenuItem sender ) : void

Sets fire ammo

SetHasWeapon ( MenuItem sender ) : void

Sets has weapon

SetInfiniteAmmo ( MenuItem sender ) : void

Sets infinite ammo

SetNoReload ( MenuItem sender ) : void

Sets no reload

SetPermanentParachute ( MenuItem sender ) : void

Sets permanent parachute

SetVehicleRocket ( MenuItem sender ) : void

Sets vehicle rocket

SetWeaponTint ( MenuItem sender ) : void

Sets weaopn tint

UpdateFeatures ( ) : void

Updates weapon features

Private Methods

Méthode Description
GenerateSpecificWeaponMenu ( Menu menu, WeaponData weapon ) : void

Method Details

ApplyWeaponSet() public static méthode

Applies weapon set to player
public static ApplyWeaponSet ( WeaponSet set ) : void
set GTAVBETrainerDotNet.Weapon.WeaponSet Weapon set
Résultat void

GetAllWeapons() public static méthode

Gets all weapons
public static GetAllWeapons ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

GetCurrentWeaponSet() public static méthode

Gets the current player's weapon set
public static GetCurrentWeaponSet ( ) : WeaponSet
Résultat GTAVBETrainerDotNet.Weapon.WeaponSet

HasAttachment() public static méthode

Does player's specified weapon has the specified attachment?
public static HasAttachment ( int weaponHash, int attachmentHash ) : bool
weaponHash int Weapon hash
attachmentHash int Attachment hash
Résultat bool

HasWeapon() public static méthode

Does player have this weapon
public static HasWeapon ( int weaponHash ) : bool
weaponHash int Weapon hash
Résultat bool

InitFeatures() public static méthode

Initializes features
public static InitFeatures ( ) : void
Résultat void

PreEnterSpecificWeaponMenu() public static méthode

Pre-enters specific weapn menu
public static PreEnterSpecificWeaponMenu ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetAttachment() public static méthode

Sets attachment
public static SetAttachment ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetExplosiveAmmo() public static méthode

Sets explosive ammo
public static SetExplosiveAmmo ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetExplosiveMelee() public static méthode

Sets explosive melee
public static SetExplosiveMelee ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetFillAmmoClip() public static méthode

Sets fill ammo & clip
public static SetFillAmmoClip ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetFireAmmo() public static méthode

Sets fire ammo
public static SetFireAmmo ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetHasWeapon() public static méthode

Sets has weapon
public static SetHasWeapon ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetInfiniteAmmo() public static méthode

Sets infinite ammo
public static SetInfiniteAmmo ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetNoReload() public static méthode

Sets no reload
public static SetNoReload ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetPermanentParachute() public static méthode

Sets permanent parachute
public static SetPermanentParachute ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetVehicleRocket() public static méthode

Sets vehicle rocket
public static SetVehicleRocket ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

SetWeaponTint() public static méthode

Sets weaopn tint
public static SetWeaponTint ( MenuItem sender ) : void
sender GTAVBETrainerDotNet.Menu.MenuItem Source menu item
Résultat void

UpdateFeatures() public static méthode

Updates weapon features
public static UpdateFeatures ( ) : void
Résultat void

Property Details

ExplosiveAmmo public_oe static_oe property

public static bool ExplosiveAmmo
Résultat bool

ExplosiveMelee public_oe static_oe property

public static bool ExplosiveMelee
Résultat bool

FireAmmo public_oe static_oe property

public static bool FireAmmo
Résultat bool

InfiniteAmmo public_oe static_oe property

public static bool InfiniteAmmo
Résultat bool

NoReload public_oe static_oe property

public static bool NoReload
Résultat bool

PermanentParachute public_oe static_oe property

public static bool PermanentParachute
Résultat bool

VehicleRocket public_oe static_oe property

public static bool VehicleRocket
Résultat bool