Class UserCraftingLists
Used for crafting lists saved by players for different workbenches.
Players may save crafting lists, add and remove recipes to and from them, and use them to filter recipes at any bench.
Inheritance
System.Object
UserCraftingLists
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class UserCraftingLists : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged
Constructors
UserCraftingLists()
Declaration
public UserCraftingLists()
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
AddRecipeToCraftingList(String, Int32)
Declaration
public void AddRecipeToCraftingList(string id, int recipeTypeId)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
| System.Int32 |
recipeTypeId |
|
CreateCraftingList(String)
Declaration
public string CreateCraftingList(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.String |
|
DeleteCraftingList(String)
Declaration
public void DeleteCraftingList(string id)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
RemoveRecipeFromCraftingList(String, Int32)
Declaration
public void RemoveRecipeFromCraftingList(string id, int recipeTypeId)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
| System.Int32 |
recipeTypeId |
|
TryGetListById(String, out CraftingList)
Declaration
public bool TryGetListById(string id, out CraftingList list)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
Description |
| System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods