public void ReplaceAll(System.Collections.Generic.IList <SkillMaster> data)
        {
            var newData = CloneAndSortBy(data, x => (x.SkillId, x.SkillLevel), System.Collections.Generic.Comparer <(int SkillId, int SkillLevel)> .Default);
            var table   = new SkillMasterTable(newData);

            memory = new MemoryDatabase(
                memory.SampleTable,
                table,
                memory.UserLevelTable

                );
        }
Beispiel #2
0
        public void ReplaceAll(System.Collections.Generic.IList <SkillMaster> data)
        {
            var newData = CloneAndSortBy(data, x => (x.SkillId, x.SkillLevel), System.Collections.Generic.Comparer <(int SkillId, int SkillLevel)> .Default);
            var table   = new SkillMasterTable(newData);

            memory = new MemoryDatabase(
                memory.QuestMasterTable,
                memory.ItemMasterTable,
                memory.QuestMasterEmptyValidateTable,
                memory.ItemMasterEmptyValidateTable,
                memory.SequentialCheckMasterTable,
                memory.SingleMasterTable,
                memory.FailTable,
                memory.SampleTable,
                table,
                memory.TestMasterTable,
                memory.UserLevelTable

                );
        }