public static GetItemRecipeSaveData ( Hashtable ht ) : Hashtable | ||
ht | Hashtable | |
return | Hashtable |
public static Hashtable GetItemRecipeSaveData(Hashtable ht)
{
string tmp = "";
int i = 0;
foreach(int id in GameHandler.Instance().recipes)
{
if(i == 0) tmp += id;
else tmp += ";"+id;
i++;
}
if("" != tmp)
{
ht.Add("recipes", tmp);
}
return ht;
}