public void Read(PacketInput input) { Item = input.ReadInt32(); SlotType = input.ReadInt32(); Tradeable = input.ReadBoolean(); Included = input.ReadBoolean(); }
public override void Read(PacketInput input) { ClientOffer = new bool[input.ReadInt16()]; for (short i = 0; i < ClientOffer.Length; i++) { ClientOffer[i] = input.ReadBoolean(); } PartnerOffer = new bool[input.ReadInt16()]; for (short i = 0; i < PartnerOffer.Length; i++) { PartnerOffer[i] = input.ReadBoolean(); } }
public override void Read(PacketInput input) { TargetId = input.ReadInt32(); Effects = new byte[input.ReadByte()]; for (byte i = 0; i < Effects.Length; i++) { Effects[i] = input.ReadByte(); } DamageAmount = input.ReadUInt16(); Kill = input.ReadBoolean(); ArmorPierce = input.ReadBoolean(); BulletId = input.ReadByte(); ObjectId = input.ReadInt32(); }
public override void Read(PacketInput input) { Width = input.ReadInt32(); Height = input.ReadInt32(); Name = input.ReadUTF(); DisplayName = input.ReadUTF(); RealmName = input.ReadUTF(); Fp = input.ReadUInt32(); Background = input.ReadInt32(); Difficulty = input.ReadInt32(); AllowPlayerTeleport = input.ReadBoolean(); ShowDisplays = input.ReadBoolean(); MaxPlayers = input.ReadInt16(); connectionGuid = input.ReadUTF(); }
public override void Read(PacketInput input) { Offer = new bool[input.ReadInt16()]; for (int i = 0; i < Offer.Length; i++) { Offer[i] = input.ReadBoolean(); } }
public override void Read(PacketInput input) { Name = input.ReadUTF(); Host = input.ReadUTF(); Stats = input.ReadUTF(); Port = input.ReadInt32(); GameId = input.ReadInt32(); KeyTime = input.ReadInt32(); IsFromArena = input.ReadBoolean(); Key = input.ReadBytes(input.ReadInt16()); }
public override void Read(PacketInput input) { Name = input.ReadUTF(); ObjectId = input.ReadInt32(); NumStars = input.ReadInt32(); BubbleTime = input.ReadByte(); Recipient = input.ReadUTF(); Text = input.ReadUTF(); CleanText = input.ReadUTF(); IsSupporter = input.ReadBoolean(); }
public override void Read(PacketInput input) { Pos.Read(input); Radius = input.ReadSingle(); Damage = input.ReadUInt16(); Effect = input.ReadByte(); Duration = input.ReadSingle(); OrigType = input.ReadUInt16(); Color = input.ReadInt32(); ArmorPierce = input.ReadBoolean(); }
public override void Read(PacketInput input) { Width = input.ReadInt32(); Height = input.ReadInt32(); Name = input.ReadUTF(); DisplayName = input.ReadUTF(); Seed = input.ReadUInt32(); Background = input.ReadInt32(); Difficulty = input.ReadInt32(); AllowPlayerTeleport = input.ReadBoolean(); ShowDisplays = input.ReadBoolean(); ClientXML = new string[input.ReadInt16()]; for (int i = 0; i < ClientXML.Length; i++) { ClientXML[i] = input.ReadUTF32(); } ExtraXML = new string[input.ReadInt16()]; for (int i = 0; i < ExtraXML.Length; i++) { ExtraXML[i] = input.ReadUTF32(); } }
public override void Read(PacketInput input) { Success = input.ReadBoolean(); LineBuilderJSON = input.ReadUTF(); }
public override void Read(PacketInput input) { Ok = input.ReadBoolean(); Message = input.ReadUTF(); }
public override void Read(PacketInput input) { Success = input.ReadBoolean(); ErrorText = input.ReadUTF(); }