Show / Hide Table of Contents

Class BasicEntityAmmoProviderComponent

Simply provides a certain capacity of entities that cannot be reloaded through normal means and have no special behavior like cycling, magazine

Inheritance
System.Object
AmmoProviderComponent
BasicEntityAmmoProviderComponent
Namespace: Content.Shared.Weapons.Ranged.Components
Assembly: Content.Shared.dll
Syntax
public sealed class BasicEntityAmmoProviderComponent : AmmoProviderComponent

Fields

| Improve this Doc View Source

Capacity

Max capacity.

Declaration
public int? Capacity
Field Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

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>
| Improve this Doc View Source

Proto

Declaration
public string Proto
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾