示例#1
0
        /// <summary>
        /// Writes the current region to storage at the given path.
        /// </summary>
        /// <param name="in_path">The location in which to store the saved region.</param>
        public void SaveMapRegion(string in_path)
        {
            var serialized = _currentRegion.SerializeToString();

            // TODO Convert this to use multiplatform utils.
            File.WriteAllText(in_path, serialized);
        }