Show / Hide Table of Contents

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
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Players
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
Type Name Description
System.String id
CraftingList list
Returns
Type Description
System.Boolean

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾