GameHandler.SetItemSaveData C# (CSharp) Method

SetItemSaveData() public static method

public static SetItemSaveData ( Hashtable ht ) : void
ht Hashtable
return void
    public static void SetItemSaveData(Hashtable ht)
    {
        GameHandler.Instance().items = new Hashtable();
        foreach(DictionaryEntry entry in ht)
        {
            if(XMLHandler.NODE_NAME != entry.Key as string)
            {
                GameHandler.Instance().items.Add(int.Parse((string)entry.Key), int.Parse((string)entry.Value));
            }
        }
    }
GameHandler