public static SetItemRecipeSaveData ( Hashtable ht ) : void | ||
ht | Hashtable | |
return | void |
public static void SetItemRecipeSaveData(Hashtable ht)
{
if(ht.ContainsKey("recipes"))
{
string tmp = (string)ht["recipes"];
string[] id = tmp.Split(new char[] {';'});
for(int i=0; i<id.Length; i++)
{
GameHandler.LearnRecipe(int.Parse(id[i]));
}
}
}