예제 #1
0
        /// <summary>
        /// Saves the PropsData to an xml file in the RunUO\TheBox folder
        /// </summary>
        public void Save()
        {
            string file = Path.Combine(BoxUtil.BoxFolder, "PropsData.xml");

            BoxUtil.XmlSave(this, file);
        }
예제 #2
0
파일: BoxData.cs 프로젝트: zerodowned/annox
        /// <summary>
        /// Saves the box data to file
        /// </summary>
        private static void Save(BoxData data)
        {
            string path = Path.Combine(BoxUtil.BoxFolder, "BoxData.xml");

            BoxUtil.XmlSave(data, path);
        }
예제 #3
0
        /// <summary>
        /// Saves the SpawnData to the TheBox folder
        /// </summary>
        private void Save()
        {
            string filename = System.IO.Path.Combine(BoxUtil.BoxFolder, "SpawnData.xml");

            BoxUtil.XmlSave(this, filename);
        }