using System; using ServerEngine.DataManagement; namespace ServerEngine.GuildWars.DataWrappers.Maps { /// /// This is the internally used MapID! It may be different to the MapID used by GW! /// public class MapID : IWrapper { public uint Value { get; set; } public MapID(uint value) { Value = value; } public ulong Hash() { return (((ulong)GetType().GetHashCode() << 32) & 0xFFFFFFFF00000000) | ((ulong)Value.GetHashCode() & 0x00000000FFFFFFFF); } } }