Class MyGunStatusEnum
When attempting to fire a gun, a status from this enum will be returned.
Inheritance
System.Object
MyGunStatusEnum
Namespace: VRage.Game.ModAPI
Assembly: VRage.Game.dll
Syntax
public sealed class MyGunStatusEnum : Enum
Fields
AccessDenied
Shooter does not not have access to the weapon
Declaration
public const MyGunStatusEnum AccessDenied
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
BurstLimit
whole burst fired, re-press the trigger
Declaration
public const MyGunStatusEnum BurstLimit
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
Cooldown
Gun is cooling down after previous shooting
Declaration
public const MyGunStatusEnum Cooldown
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
Disabled
Gun is disabled by player
Declaration
public const MyGunStatusEnum Disabled
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
Failed
Any other reason not given here
Declaration
public const MyGunStatusEnum Failed
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
NotCharged
Gun is charging energy
Declaration
public const MyGunStatusEnum NotCharged
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
NotFunctional
Gun is damaged beyond functionality
Declaration
public const MyGunStatusEnum NotFunctional
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
NotSelected
No gun was selected, so nothing could shoot
Declaration
public const MyGunStatusEnum NotSelected
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
OK
Gun is capable of shooting
Declaration
public const MyGunStatusEnum OK
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
OutOfAmmo
Gun does not have ammo
Declaration
public const MyGunStatusEnum OutOfAmmo
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
OutOfPower
Gun does not have enough power to shoot
Declaration
public const MyGunStatusEnum OutOfPower
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
Reloading
Gun currently reloading
Declaration
public const MyGunStatusEnum Reloading
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
SafeZoneDenied
Disabled in safezone
Declaration
public const MyGunStatusEnum SafeZoneDenied
Field Value
Type | Description |
---|---|
MyGunStatusEnum |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |