GameHandler.GetVariableSaveData C# (CSharp) Method

GetVariableSaveData() public static method

public static GetVariableSaveData ( Hashtable ht ) : Hashtable
ht Hashtable
return Hashtable
    public static Hashtable GetVariableSaveData(Hashtable ht)
    {
        foreach(DictionaryEntry entry in GameHandler.Instance().variables)
        {
            if(DataHolder.LoadSaveHUD().CanSaveGameVariable(entry.Key as string))
            {
                ht.Add(entry.Key, entry.Value);
            }
        }
        return ht;
    }
GameHandler