示例#1
0
        public Packet(PacketReader packet)
        {
            ulong  SoulCrystalID    = packet.ReadUInt64();
            string SoulCrystalName  = Enum.Item.Enum(packet.ReadUInt32());
            int    SoulCrystalEXP   = packet.ReadInt32();
            byte   SoulCrystalLevel = packet.ReadByte();
            ushort SoulCrystalCount = packet.ReadUInt16();

            for (int i = 0; i < SoulCrystalCount; i++)
            {
                PktItemOption.Packet(packet);
            }
        }
示例#2
0
        public Packet(PacketReader packet)
        {
            byte   Level             = packet.ReadByte();
            byte   EnchantLevel      = packet.ReadByte();
            byte   LimitBreakCount   = packet.ReadByte();
            ushort Count             = packet.ReadUInt16();
            ushort BasicOptionLength = packet.ReadUInt16();

            string[] BasicOption = { "", "", "" };
            for (int k = 0; BasicOptionLength > k; k++)
            {
                PktItemOption.Packet(packet);
            }
            byte Bind         = packet.ReadByte();
            byte AbilityLevel = packet.ReadByte();
        }