code: function processInit (obj) {
          console.assert(obj);
          try {
            if (obj.type === TNMT$1.InitCoreSuccess) {
              __agent.log(logCord$7, 'init core plugin success!');
              __mc.trigger(TypeMsg$6.onNativeEngineInitSuccess, {
                data: obj
              });
            } else if (obj.type === TNMT$1.InitCoreFailed) {
              console.error(logCord$7, 'init core plugin failed!');
              __mc.trigger(TypeMsg$6.onNativeEngineInitFailed, {
                data: obj
              });
            }
          } catch (error) {
            console.error(logCord$7, error);
          }
        }
docs: 声明处理插件初始化的方法