Class ShootingModule
Inheritance
ShootingModule
Assembly: Assembly-CSharp.dll
Syntax
[Reloadable]
public class ShootingModule : BlockModule, IValidatable, IReloadable
Constructors
ShootingModule()
Declaration
Fields
AmmoType
Declaration
[Reloadable]
public AmmoType AmmoType
Field Value
Type |
Description |
AmmoType |
|
DefaultAmmo
Declaration
[Reloadable]
public int DefaultAmmo
Field Value
FireKey
Declaration
[RequireToValidate]
public MKeyReference FireKey
Field Value
HoldToShootToggle
Declaration
[RequireToValidate]
public MToggleReference HoldToShootToggle
Field Value
PoolSize
Declaration
Field Value
PowerSlider
Declaration
[RequireToValidate]
public MSliderReference PowerSlider
Field Value
ProjectileInfo
Declaration
[RequireToValidate]
[Reloadable]
public ShootingModule.Projectile ProjectileInfo
Field Value
Declaration
[Reloadable]
public bool ProjectilesDespawnImmediately
Field Value
ProjectilesExplode
Declaration
[Reloadable]
public bool ProjectilesExplode
Field Value
ProjectileStart
Declaration
[Reloadable]
public TransformValues ProjectileStart
Field Value
RateOfFireSlider
Declaration
[RequireToValidate]
public MSliderReference RateOfFireSlider
Field Value
RecoilMultiplier
Declaration
[Reloadable]
public float RecoilMultiplier
Field Value
ShowPlaceholderProjectile
Declaration
public bool ShowPlaceholderProjectile
Field Value
Sounds
Declaration
[RequireToValidate]
[CanBeEmpty]
public object[] Sounds
Field Value
Declaration
[Reloadable]
public bool SupportsExplosionGodTool
Field Value
TriggeredByFire
Declaration
[Reloadable]
public bool TriggeredByFire
Field Value
Methods
GetProjectilePlaceholder(ModBlockBehaviourHandler)
Declaration
public GameObject GetProjectilePlaceholder(ModBlockBehaviourHandler behaviour)
Parameters
Type |
Name |
Description |
InternalModding.Blocks.ModBlockBehaviourHandler |
behaviour |
|
Returns
Type |
Description |
UnityEngine.GameObject |
|
GetProjectilePrefab(ModBlockBehaviourHandler)
Declaration
public GameObject GetProjectilePrefab(ModBlockBehaviourHandler behaviour)
Parameters
Type |
Name |
Description |
InternalModding.Blocks.ModBlockBehaviourHandler |
behaviour |
|
Returns
Type |
Description |
UnityEngine.GameObject |
|
OnReload(ModBlockBehaviourHandler)
Declaration
public void OnReload(ModBlockBehaviourHandler behaviour)
Parameters
Type |
Name |
Description |
InternalModding.Blocks.ModBlockBehaviourHandler |
behaviour |
|
Validate(String)
Declaration
protected override bool Validate(string elemName)
Parameters
Type |
Name |
Description |
String |
elemName |
|
Returns
Overrides
Implements