using GadgetCore.API;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace VendingMachine.RecipePageRegistry
{
///
/// This registry is filled with ChipInfos, and is used for registering custom chips to the game.
///
public class RecipePageRegistry : Registry
{
private static Dictionary chipIDsByName;
private static Dictionary chipIDsByRegistryName;
///
/// The name of this registry.
///
public const string REGISTRY_NAME = "RecipePage";
///
/// Gets the name of this registry. Must be constant. Returns .
///
public override string GetRegistryName()
{
return REGISTRY_NAME;
}
///
/// Called after the specified Registry Entry has been registered. You should never call this yourself. Note that this is called before
///
protected override void PostRegistration(RecipePageInfo entry)
{
//chipIDsByRegistryName[entry.RegistryName] = entry.ID;
}
///
/// Called just before an entry is removed from the registry by
///
protected override void OnUnregister(RecipePageInfo entry)
{
//chipIDsByName.Remove(entry.Name);
//chipIDsByRegistryName.Remove(entry.RegistryName);
}
}
///
/// Specifies what type of recipe this is.
///
public enum RecipePageType
{
///
/// This recipe is avalible at the Gear Forge.
///
GearForge,
///
/// This recipe is avalible at the Alchemy Station.
///
AlchemyStation,
///
/// This recipe is avalible at the Ultimate Forge.
///
UltimateForge
}
}