//public string PacketType; //PacketType = Enum.GetName(typeof(LibClassicBot.Networking.ServerPackets), opcode); /// <summary> /// PacketEventArg containg the opcode / PacketID of a packet. To get the actual byte, use (byte)e.OpCode. /// </summary> /// <param name="opcode">The ServerPackets representation of the packet ID.</param> internal PacketEventArgs(Networking.ServerPackets opcode) { OpCode = opcode; }