2021-02-27 04:12:09 +01:00
|
|
|
using System;
|
2020-08-13 14:40:27 +02:00
|
|
|
using System.Collections.Generic;
|
2019-11-21 16:37:15 -08:00
|
|
|
using Robust.Shared.GameObjects;
|
2021-07-12 01:32:10 -07:00
|
|
|
using Robust.Shared.GameStates;
|
2019-11-21 16:37:15 -08:00
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Shared.Cargo.Components
|
2019-11-21 16:37:15 -08:00
|
|
|
{
|
2021-07-12 01:32:10 -07:00
|
|
|
[NetworkedComponent()]
|
2022-02-16 00:23:23 -07:00
|
|
|
public abstract class SharedCargoOrderDatabaseComponent : Component
|
2019-11-21 16:37:15 -08:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[NetSerializable, Serializable]
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed class CargoOrderDatabaseState : ComponentState
|
2019-11-21 16:37:15 -08:00
|
|
|
{
|
2021-03-16 15:50:20 +01:00
|
|
|
public readonly List<CargoOrderData>? Orders;
|
|
|
|
|
|
2021-07-12 01:32:10 -07:00
|
|
|
public CargoOrderDatabaseState(List<CargoOrderData>? orders)
|
2019-11-21 16:37:15 -08:00
|
|
|
{
|
|
|
|
|
Orders = orders;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|