public override void Deserialize(BigEndianReader reader) { type = reader.ReadSByte(); if (type < 0) throw new Exception("Forbidden value on type = " + type + ", it doesn't respect the following condition : type < 0"); coords = Types.ProtocolTypeManager.GetInstance<Types.MapCoordinates>(reader.ReadShort()); coords.Deserialize(reader); }
public override void Deserialize(BigEndianReader reader) { type = reader.ReadSByte(); if (type < 0) { throw new Exception("Forbidden value on type = " + type + ", it doesn't respect the following condition : type < 0"); } coords = Types.ProtocolTypeManager.GetInstance <Types.MapCoordinates>(reader.ReadShort()); coords.Deserialize(reader); }
public CompassUpdatePartyMemberMessage(sbyte type, Types.MapCoordinates coords, uint memberId) : base(type, coords) { this.memberId = memberId; }
public CompassUpdatePvpSeekMessage(sbyte type, Types.MapCoordinates coords, double memberId, string memberName) : base(type, coords) { this.memberId = memberId; this.memberName = memberName; }
public CompassUpdatePartyMemberMessage(sbyte type, Types.MapCoordinates coords, long memberId, bool active) : base(type, coords) { this.memberId = memberId; this.active = active; }
public CompassUpdateMessage(sbyte type, Types.MapCoordinates coords) { this.type = type; this.coords = coords; }
public override void Deserialize(IReader reader) { type = reader.ReadSByte(); coords = ProtocolTypeManager.GetInstance <Types.MapCoordinates>(reader.ReadUShort()); coords.Deserialize(reader); }