Beispiel #1
0
        public WorldSession(WorldServer server, VanillaWorld core, int connectionID, Socket connectionSocket) : base(connectionID, connectionSocket)
        {
            Server = server;
            Core   = core;

            UpdatePacketBuilder = new UpdatePacketBuilder(this);

            // Connection Packet
            using (WorldPacket packet = new WorldPacket(WorldOpcodes.SMSG_AUTH_CHALLENGE))
            {
                packet.WriteBytes(new byte[] { 0x33, 0x18, 0x34, 0xC8 });
                SendPacket(packet);
            }
        }
Beispiel #2
0
        public WorldSession(WorldServer server, VanillaWorld core, int connectionID, Socket connectionSocket)
            : base(connectionID, connectionSocket)
        {
            Server = server;
            Core = core;

            UpdatePacketBuilder = new UpdatePacketBuilder(this);

            // Connection Packet
            using (WorldPacket packet = new WorldPacket(WorldOpcodes.SMSG_AUTH_CHALLENGE))
            {
                packet.WriteBytes(new byte[] { 0x33, 0x18, 0x34, 0xC8 });
                SendPacket(packet);
            }
        }