Exemple #1
0
        ////////////////

        private bool LoadModData()
        {
            bool success;
            var  data = DataFileHelpers.LoadJson <HamstarHelpersData>(this, "data", out success);

            if (success)
            {
                this.Data = data;
            }

            return(success);
        }
Exemple #2
0
        private void UnloadModData()
        {
            DataFileHelpers.SaveAsJson <HamstarHelpersData>(this, "data", this.Data);

            this.Data = null;
        }