Example #1
0
 private void Init()
 {
     _plugin   = this;
     uiManager = new UIManager();
     configs   = Config.ReadObject <ConfigData>();
     LoadStoredData();
 }
Example #2
0
        private void Init()
        {
            _plugin    = this;
            _uiManager = new UIManager();
            _config    = Config.ReadObject <ConfigData>();
            LoadStoredData();

            timer.Repeat(300.0f, 0, () =>
            {
                Puts("Saving stored data!");
                SaveStoredData();
            });
        }