Example #1
0
        //============================================================
        // <T>εΊεˆ—εŒ–γ€‚</T>
        //============================================================
        public void Serialize()
        {
            string saveFile = RMoCommon.ParseEnvironment("${resource.root}") + "\\db\\map.db";

            FByteFile file = new FByteFile();

            file.WriteInt16((short)_maps.Count);
            foreach (FMbMap map in _maps)
            {
                map.Serialize(file);
            }

            file.SaveFile(saveFile);
        }