class Rosegold::RecipeRegistry

Defined in:

rosegold/inventory/recipe.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add(new_entries : Array(RecipeDisplayEntry), replace : Bool) #

[View source]
def add_history : Array(String) #

[View source]
def clear #

[View source]
def entries : Hash(UInt32, RecipeDisplayEntry) #

[View source]
def find_by_id(id : UInt32) : RecipeDisplayEntry | Nil #

[View source]
def find_by_result(item_name : String) : Array(RecipeDisplayEntry) #

[View source]
def last_expected_count : UInt32 | Nil #

[View source]
def last_parse_error : String | Nil #

[View source]
def record_parse_error(error : String, expected_count : UInt32) #

[View source]
def remove(ids : Array(UInt32)) #

[View source]
def size #

[View source]