Пример #1
0
    void Save()
    {
        eSave saver = new eSave();

        saver.SaveDateTime("LastPlayTime", DateTime.Now);
        saver.SaveDecimal("Money", Money);
        saver.SaveDecimal("MoneyM", MoneyMultiplier);
        saver.SaveDecimal("Score", Score);
        saver.SaveFloat("TPS", TapPerSec);
        saver.SaveDecimal("IdleMoney", IdleMoneyPerSec);
        saver.SaveDecimal("DamageM", DamageMultiplier);
        saver.SaveInt("CurItem", CurrentItem);
        saver.SaveDecimal("Damage", Damage);
        saver.SaveInt("MaxLevel", MaxLevelUnlocked);
        Invoke("Save", SaveDelay);
        if (OnSave != null)
        {
            OnSave();
        }
    }
Пример #2
0
 void Save()
 {
     saver.SaveInt("Gems", Gems);
     saver.SaveInt("GeC", GemChances);
 }
Пример #3
0
 void Save()
 {
     Saver.SaveInt(ID.ToString(), Level);
     Saver.SaveInt(ID.ToString() + "TotalNew", GeneratedLevels);
 }