public Type GetType(ushort opcode) { Type messageType; if (!this.opcodeType.TryGetValue(opcode, out messageType)) { throw new Exception($"查找Opcode Type失败: {opcode}"); } return messageType; }