Files
tbd-station-14/Content.Shared/Materials/OreSilo/OreSiloClientComponent.cs
Nemanja f8ff7aee92 Local Material Silo (#36492)
* Material Silo

* fix board, fix copyright

* a bit of review.... for the vibe....

* a tiny bit of review

* 4 spaced

* sloths no good very tiny nitpick

* fix ui flickers

* oops

* slightly lower range

* Sloth Review

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-04-19 09:43:17 +10:00

19 lines
593 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Materials.OreSilo;
/// <summary>
/// An entity with <see cref="MaterialStorageComponent"/> that interfaces with an <see cref="OreSiloComponent"/>.
/// Used for tracking the connected silo.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(SharedOreSiloSystem))]
public sealed partial class OreSiloClientComponent : Component
{
/// <summary>
/// The silo that this client pulls materials from.
/// </summary>
[DataField, AutoNetworkedField]
public EntityUid? Silo;
}