示例#1
0
 public Item(NexonPacket packet)
 {
     Slot = packet.ReadU1();
     Icon = packet.ReadU2();
     Tint = packet.ReadU2();
     Name = packet.ReadC1();
     Meta = packet.ReadC1();
     Unk  = packet.ReadU2();
     Mass = packet.ReadU2();
     Flag = packet.ReadU1();
     MaximumDurability = packet.ReadU4();
     CurrentDurability = packet.ReadU4();
     UnkA        = packet.ReadU1();
     UnkB        = packet.ReadU2();
     EnglishName = Name;
 }
示例#2
0
 public Aisling(NexonPacket packet)
 {
     X    = packet.ReadU2();
     Y    = packet.ReadU2();
     Face = packet.ReadU1();
     Guid = packet.ReadU4();
     Tint = packet.ReadU1();
     packet.ReadU1();
     packet.ReadU1();
     packet.ReadU1();
     packet.Offset += (packet.ReadU2() == 0xffff) ? 11 : 0x35;
     Type           = packet.ReadU1();
     NameTint       = packet.ReadU1();
     Name           = packet.ReadC1();
 }