Class SingleMarkingPicker
Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.Controls.Container
Robust.Client.UserInterface.Controls.BoxContainer
SingleMarkingPicker
Namespace: Content.Client.Humanoid
Assembly: Content.Client.dll
Syntax
public sealed class SingleMarkingPicker : BoxContainer
Constructors
| Improve this Doc View SourceSingleMarkingPicker()
Declaration
public SingleMarkingPicker()
Fields
| Improve this Doc View SourceOnColorChanged
What happens if a marking's color is changed. Sends a 'slot' number, and the marking in question.
Declaration
public Action<(int slot, Marking marking)>? OnColorChanged
Field Value
Type | Description |
---|---|
System.Nullable<Action<System.ValueTuple<System.Int32, Marking>>> |
OnMarkingSelect
What happens if a marking is selected. It will send the 'slot' (marking index) and the selected marking's ID.
Declaration
public Action<(int slot, string id)>? OnMarkingSelect
Field Value
Type | Description |
---|---|
System.Nullable<Action<System.ValueTuple<System.Int32, System.String>>> |
OnSlotAdd
What happens when a slot is added.
Declaration
public Action? OnSlotAdd
Field Value
Type | Description |
---|---|
System.Nullable<Action> |
OnSlotRemove
What happens if a slot is removed. This will send the 'slot' (marking index).
Declaration
public Action<int>? OnSlotRemove
Field Value
Type | Description |
---|---|
System.Nullable<Action<System.Int32>> |
Properties
| Improve this Doc View SourceCategory
Declaration
public MarkingCategories Category { get; set; }
Property Value
Type | Description |
---|---|
MarkingCategories |
Methods
| Improve this Doc View SourcePopulateList(String)
Declaration
public void PopulateList(string filter)
Parameters
Type | Name | Description |
---|---|---|
System.String | filter |
UpdateData(List<Marking>, String, Int32)
Declaration
public void UpdateData(List<Marking> markings, string species, int totalPoints)
Parameters
Type | Name | Description |
---|---|---|
List<Marking> | markings | |
System.String | species | |
System.Int32 | totalPoints |