Show / Hide Table of Contents

Class CargoSystem

Inheritance
System.Object
SharedCargoSystem
CargoSystem
Namespace: Content.Server.Cargo.Systems
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
Type Name Description
StationCargoOrderDatabaseComponent component
| Improve this Doc View Source

GetOutstandingOrderCount(StationCargoOrderDatabaseComponent)

Declaration
public static int GetOutstandingOrderCount(StationCargoOrderDatabaseComponent component)
Parameters
Type Name Description
StationCargoOrderDatabaseComponent component
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
Type Name Description
EntityUid dbUid
System.Int32 index
StationCargoOrderDatabaseComponent orderDB
| 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
Type Name Description
EntityUid uid
Content.Shared.Cargo.CargoBountyData bounty
PaperComponent paper
CargoBountyLabelComponent label
| 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
Type Name Description
EntityUid uid
StationBankAccountComponent component
System.Int32 balanceAdded
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾