예제 #1
0
 public void Read(PacketInput input)
 {
     Item      = input.ReadInt32();
     SlotType  = input.ReadInt32();
     Tradeable = input.ReadBoolean();
     Included  = input.ReadBoolean();
 }
예제 #2
0
 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();
     }
 }
예제 #3
0
 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();
 }
예제 #4
0
 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();
 }
예제 #5
0
 public override void Read(PacketInput input)
 {
     Offer = new bool[input.ReadInt16()];
     for (int i = 0; i < Offer.Length; i++)
     {
         Offer[i] = input.ReadBoolean();
     }
 }
예제 #6
0
 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());
 }
예제 #7
0
 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();
 }
예제 #8
0
 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();
 }
예제 #9
0
 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();
     }
 }
예제 #10
0
 public override void Read(PacketInput input)
 {
     Success         = input.ReadBoolean();
     LineBuilderJSON = input.ReadUTF();
 }
예제 #11
0
 public override void Read(PacketInput input)
 {
     Ok      = input.ReadBoolean();
     Message = input.ReadUTF();
 }
예제 #12
0
 public override void Read(PacketInput input)
 {
     Success   = input.ReadBoolean();
     ErrorText = input.ReadUTF();
 }