Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.CustomControls.BaseWindow
CargoConsoleMenu
Assembly: Content.Client.dll
public sealed class CargoConsoleMenu : FancyWindow
Constructors
|
Improve this Doc
View Source
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
Declaration
public IEnumerable<CargoProductPrototype> ProductPrototypes { get; }
Property Value
Methods
|
Improve this Doc
View Source
Populates the list of products that will actually be shown, using the current filters.
Declaration
public void PopulateCategories()
|
Improve this Doc
View Source
Populates the list of orders and requests.
Declaration
public void PopulateOrders(IEnumerable<CargoOrderData> orders)
Parameters
|
Improve this Doc
View Source
Populates the list of products that will actually be shown, using the current filters.
Declaration
public void PopulateProducts()
|
Improve this Doc
View Source
Declaration
public void UpdateBankData(string name, int points)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Int32 |
points |
|
|
Improve this Doc
View Source
Declaration
public void UpdateCargoCapacity(int count, int capacity)
Parameters
Type |
Name |
Description |
System.Int32 |
count |
|
System.Int32 |
capacity |
|
Events
|
Improve this Doc
View Source
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
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
Declaration
public event Action<BaseButton.ButtonEventArgs>? OnOrderCanceled
Event Type
Type |
Description |
System.Nullable<Action<Robust.Client.UserInterface.Controls.BaseButton.ButtonEventArgs>> |
|
Extension Methods