Files
OldThink/Content.Shared/Cargo/Components/SharedCargoOrderDatabaseComponent.cs

25 lines
593 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
2021-06-09 22:19:39 +02:00
namespace Content.Shared.Cargo.Components
{
[NetworkedComponent()]
public abstract class SharedCargoOrderDatabaseComponent : Component
{
}
[NetSerializable, Serializable]
public sealed class CargoOrderDatabaseState : ComponentState
{
public readonly List<CargoOrderData>? Orders;
public CargoOrderDatabaseState(List<CargoOrderData>? orders)
{
Orders = orders;
}
}
}