ModifiedChestEntry.cs 1.1 KB

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