2
0

SaveGameDescription.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //-----------------------------------------------------------------------------
  2. // SaveGameDescription.cs
  3. //
  4. // Microsoft XNA Community Game Platform
  5. // Copyright (C) Microsoft Corporation. All rights reserved.
  6. //-----------------------------------------------------------------------------
  7. using System;
  8. using System.Xml.Serialization;
  9. namespace RolePlaying
  10. {
  11. /// <summary>
  12. /// The description of a save game file.
  13. /// </summary>
  14. /// <remarks>
  15. /// This data is saved in a separate file, and loaded by
  16. /// the Load and Save Game menu screens.
  17. /// </remarks>
  18. #if WINDOWS
  19. [Serializable]
  20. #endif
  21. public class SaveGameDescription
  22. {
  23. /// <summary>
  24. /// The name of the save file with the game data.
  25. /// </summary>
  26. public string FileName;
  27. /// <summary>
  28. /// The short description of how far the player has progressed in the game.
  29. /// </summary>
  30. /// <remarks>Here, it's the current quest.</remarks>
  31. public string ChapterName;
  32. /// <summary>
  33. /// The short description of how far the player has progressed in the game.
  34. /// </summary>
  35. /// <remarks>Here, it's the time played.</remarks>
  36. public string Description;
  37. }
  38. }