Class BasicEntityAmmoProviderComponent
Simply provides a certain capacity of entities that cannot be reloaded through normal means and have no special behavior like cycling, magazine
Namespace: Content.Shared.Weapons.Ranged.Components
Assembly: Content.Shared.dll
Syntax
public sealed class BasicEntityAmmoProviderComponent : AmmoProviderComponent
Fields
| Improve this Doc View SourceCapacity
Max capacity.
Declaration
public int? Capacity
Field Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Count
Actual ammo left. Initialized to capacity unless they are non-null and differ.
Declaration
public int? Count
Field Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Proto
Declaration
public string Proto
Field Value
Type | Description |
---|---|
System.String |