/// <summary>Gets the name of the packet ID. (ie. CMSG_PING)</summary> /// <returns>a string containing the packet's canonical name</returns> public override string ToString() { return(PacketId.ToString()); }
private static bool CanDump(PacketId id) { return Dumps && IgnoredOpcodes.Where(filter => id.ToString().IndexOf(filter, StringComparison.InvariantCultureIgnoreCase) != -1).Count() == 0; }
/// <summary> /// Gets the name of the packet ID. (ie. CMSG_PING) /// </summary> /// <returns>a string containing the packet's canonical name</returns> public override string ToString() { return(_packetID.ToString()); }