Exemplo n.º 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);
        }
Exemplo n.º 2
0
        /// <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);
        }
Exemplo n.º 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);
        }