Class CargoSystem
Inheritance
System.Object
CargoSystem
Assembly: Content.Server.dll
Syntax
public sealed class CargoSystem : SharedCargoSystem
Properties
|
Improve this Doc
View Source
CargoMap
Declaration
public MapId? CargoMap { get; }
Property Value
Type |
Description |
System.Nullable<Robust.Shared.Map.MapId> |
|
Methods
|
Improve this Doc
View Source
AddAndApproveOrder(EntityUid, String, Int32, Int32, String, String, String, StationCargoOrderDatabaseComponent)
Declaration
public bool AddAndApproveOrder(EntityUid dbUid, string spawnId, int cost, int qty, string sender, string description, string dest, StationCargoOrderDatabaseComponent component)
Parameters
Type |
Name |
Description |
EntityUid |
dbUid |
|
System.String |
spawnId |
|
System.Int32 |
cost |
|
System.Int32 |
qty |
|
System.String |
sender |
|
System.String |
description |
|
System.String |
dest |
|
StationCargoOrderDatabaseComponent |
component |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ClearOrders(StationCargoOrderDatabaseComponent)
Declaration
public void ClearOrders(StationCargoOrderDatabaseComponent component)
Parameters
|
Improve this Doc
View Source
GetOutstandingOrderCount(StationCargoOrderDatabaseComponent)
Declaration
public static int GetOutstandingOrderCount(StationCargoOrderDatabaseComponent component)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
RemoveOrder(EntityUid, Int32, StationCargoOrderDatabaseComponent)
Declaration
public void RemoveOrder(EntityUid dbUid, int index, StationCargoOrderDatabaseComponent orderDB)
Parameters
|
Improve this Doc
View Source
SetupBountyLabel(EntityUid, CargoBountyData, PaperComponent, CargoBountyLabelComponent)
Declaration
public void SetupBountyLabel(EntityUid uid, CargoBountyData bounty, PaperComponent paper = null, CargoBountyLabelComponent label = null)
Parameters
|
Improve this Doc
View Source
Shutdown()
Declaration
public override void Shutdown()
|
Improve this Doc
View Source
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type |
Name |
Description |
System.Single |
frameTime |
|
|
Improve this Doc
View Source
UpdateBankAccount(EntityUid, StationBankAccountComponent, Int32)
Declaration
public void UpdateBankAccount(EntityUid uid, StationBankAccountComponent component, int balanceAdded)
Parameters