* Make component states dependant on the player getting them Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> * Updated submodule to v0.3.7. Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> Co-authored-by: Acruid <shatter66@gmail.com>
16 lines
448 B
C#
16 lines
448 B
C#
using Content.Shared.GameObjects.Components.Cargo;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Players;
|
|
|
|
namespace Content.Server.GameObjects.Components.Cargo
|
|
{
|
|
[RegisterComponent]
|
|
public class GalacticMarketComponent : SharedGalacticMarketComponent
|
|
{
|
|
public override ComponentState GetComponentState(ICommonSession player)
|
|
{
|
|
return new GalacticMarketState(GetProductIdList());
|
|
}
|
|
}
|
|
}
|