public PrismGeolocalizedInformation(ushort subAreaId, uint allianceId, short worldX, short worldY, int mapId, PrismInformation prism)
     : base(subAreaId, allianceId)
 {
     this.worldX = worldX;
     this.worldY = worldY;
     this.mapId  = mapId;
     this.prism  = prism;
 }
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     worldX = reader.ReadShort();
     if (worldX < -255 || worldX > 255)
     {
         throw new Exception("Forbidden value on worldX = " + worldX + ", it doesn't respect the following condition : worldX < -255 || worldX > 255");
     }
     worldY = reader.ReadShort();
     if (worldY < -255 || worldY > 255)
     {
         throw new Exception("Forbidden value on worldY = " + worldY + ", it doesn't respect the following condition : worldY < -255 || worldY > 255");
     }
     mapId = reader.ReadInt();
     prism = Types.ProtocolTypeManager.GetInstance <PrismInformation>(reader.ReadShort());
     prism.Deserialize(reader);
 }
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     this.prism = ProtocolTypeManager.GetInstance <PrismInformation>(reader.ReadShort());
     this.prism.Deserialize(reader);
 }
 public GameRolePlayPrismInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, PrismInformation prism)
     : base(contextualId, look, disposition)
 {
     this.prism = prism;
 }