ModifiedChestEntry.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #region File Description
  2. //-----------------------------------------------------------------------------
  3. // ModifiedChestEntry.cs
  4. //
  5. // Microsoft XNA Community Game Platform
  6. // Copyright (C) Microsoft Corporation. All rights reserved.
  7. //-----------------------------------------------------------------------------
  8. #endregion
  9. #region Using Statements
  10. using System;
  11. using System.Collections.Generic;
  12. using RolePlayingGameData;
  13. #endregion
  14. namespace RolePlaying
  15. {
  16. /// <summary>
  17. /// A serializable description of the modified contents of a chest in the world.
  18. /// </summary>
  19. public class ModifiedChestEntry
  20. {
  21. /// <summary>
  22. /// The map and position of the modified chest.
  23. /// </summary>
  24. public WorldEntry<Chest> WorldEntry = new WorldEntry<Chest>();
  25. /// <summary>
  26. /// The modified chest contents, replacing the previous contents.
  27. /// </summary>
  28. public List<ContentEntry<Gear>> ChestEntries = new List<ContentEntry<Gear>>();
  29. /// <summary>
  30. /// The modified gold amount in the chest, replacing the previous amount.
  31. /// </summary>
  32. public int Gold = 0;
  33. }
  34. }