Exemplo n.º 1
0
 public static ushort GetMapId(this UniversalGuid128 guid) => (ushort)((guid.High >> 29) & 0x1FFF);
Exemplo n.º 2
0
 public static uint GetServerId(this UniversalGuid128 guid) => (uint)((guid.Low >> 40) & 0xFFFFFF);
Exemplo n.º 3
0
 public static byte GetSubType(this UniversalGuid128 guid) => (byte)(guid.High & 0x3F);
Exemplo n.º 4
0
 public static ushort GetRealmId(this UniversalGuid128 guid) => (ushort)((guid.High >> 42) & 0x1FFF);
Exemplo n.º 5
0
 public static uint GetEntry(this UniversalGuid128 guid)
 {
     return((uint)((guid.High >> 6) & 0x7FFFFF));
 }