Re-organize all projects (#4166)
This commit is contained in:
31
Content.Shared/Cargo/CargoOrderData.cs
Normal file
31
Content.Shared/Cargo/CargoOrderData.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Cargo
|
||||
{
|
||||
[NetSerializable, Serializable]
|
||||
public class CargoOrderData
|
||||
{
|
||||
public int OrderNumber;
|
||||
public string Requester;
|
||||
// public String RequesterRank; // TODO Figure out how to get Character ID card data
|
||||
// public int RequesterId;
|
||||
public string Reason;
|
||||
public string ProductId;
|
||||
public int Amount;
|
||||
public int PayingAccountId;
|
||||
public bool Approved;
|
||||
|
||||
public CargoOrderData(int orderNumber, string requester, string reason, string productId, int amount, int payingAccountId)
|
||||
{
|
||||
OrderNumber = orderNumber;
|
||||
Requester = requester;
|
||||
Reason = reason;
|
||||
ProductId = productId;
|
||||
Amount = amount;
|
||||
PayingAccountId = payingAccountId;
|
||||
Approved = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user