Show / Hide Table of Contents

Class CargoConsoleMenu

Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.CustomControls.BaseWindow
FancyWindow
CargoConsoleMenu
Namespace: Content.Client.Cargo.UI
Assembly: Content.Client.dll
Syntax
public sealed class CargoConsoleMenu : FancyWindow

Constructors

| Improve this Doc View Source

CargoConsoleMenu(IPrototypeManager, SpriteSystem)

Declaration
public CargoConsoleMenu(IPrototypeManager protoManager, SpriteSystem spriteSystem)
Parameters
Type Name Description
Robust.Shared.Prototypes.IPrototypeManager protoManager
Robust.Client.GameObjects.SpriteSystem spriteSystem

Properties

| Improve this Doc View Source

ProductPrototypes

Declaration
public IEnumerable<CargoProductPrototype> ProductPrototypes { get; }
Property Value
Type Description
IEnumerable<CargoProductPrototype>

Methods

| Improve this Doc View Source

PopulateCategories()

Populates the list of products that will actually be shown, using the current filters.

Declaration
public void PopulateCategories()
| Improve this Doc View Source

PopulateOrders(IEnumerable<CargoOrderData>)

Populates the list of orders and requests.

Declaration
public void PopulateOrders(IEnumerable<CargoOrderData> orders)
Parameters
Type Name Description
IEnumerable<CargoOrderData> orders
| Improve this Doc View Source

PopulateProducts()

Populates the list of products that will actually be shown, using the current filters.

Declaration
public void PopulateProducts()
| Improve this Doc View Source

UpdateBankData(String, Int32)

Declaration
public void UpdateBankData(string name, int points)
Parameters
Type Name Description
System.String name
System.Int32 points
| Improve this Doc View Source

UpdateCargoCapacity(Int32, Int32)

Declaration
public void UpdateCargoCapacity(int count, int capacity)
Parameters
Type Name Description
System.Int32 count
System.Int32 capacity

Events

| Improve this Doc View Source

OnItemSelected

Declaration
public event Action<BaseButton.ButtonEventArgs>? OnItemSelected
Event Type
Type Description
System.Nullable<Action<Robust.Client.UserInterface.Controls.BaseButton.ButtonEventArgs>>
| Improve this Doc View Source

OnOrderApproved

Declaration
public event Action<BaseButton.ButtonEventArgs>? OnOrderApproved
Event Type
Type Description
System.Nullable<Action<Robust.Client.UserInterface.Controls.BaseButton.ButtonEventArgs>>
| Improve this Doc View Source

OnOrderCanceled

Declaration
public event Action<BaseButton.ButtonEventArgs>? OnOrderCanceled
Event Type
Type Description
System.Nullable<Action<Robust.Client.UserInterface.Controls.BaseButton.ButtonEventArgs>>

Extension Methods

ControlExtension.GetControlOfType<T>(Control)
ControlExtension.GetControlOfType<T>(Control, String)
ControlExtension.GetControlOfType<T>(Control, Boolean)
ControlExtension.GetControlOfType<T>(Control, String, Boolean)
ControlExtension.GetSearchableControls(Control, Boolean)
ControlExtension.ChildrenContainText(Control, String)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾