OpcodeHelper.cs 442 B

123456789101112131415161718192021
  1. 
  2. namespace KYFramework.Network
  3. {
  4. public static class OpcodeHelper
  5. {
  6. private static readonly HashSet<ushort> ignoreDebugLogMessageSet = new HashSet<ushort>
  7. {
  8. };
  9. public static bool IsNeedDebugLogMessage(ushort opcode)
  10. {
  11. if (ignoreDebugLogMessageSet.Contains(opcode))
  12. {
  13. return false;
  14. }
  15. return true;
  16. }
  17. }
  18. }