Example #1
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());
 }
Example #2
0
		private static bool CanDump(PacketId id)
		{
			return Dumps &&
				   IgnoredOpcodes.Where(filter =>
					   id.ToString().IndexOf(filter, StringComparison.InvariantCultureIgnoreCase) != -1).Count() == 0;
		}
Example #3
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());
 }