System.register(["__unresolved_0", "cc"], function (_export, _context) {
  "use strict";

  var _reporterNs, _cclegacy, _crd;

  /**
   * 构建游戏同步帧时走这里
   * @param game 
   * @returns game sync frame 
   */
  function buildGameSyncFrame() {
    return {
      connectionInputs: []
    };
  }
  /**
   * 构建连接输入帧
   * @param game 
   * @param conn 
   * @param inpFrame 
   * @returns connection input frame 
   */


  function buildConnectionInputFrame(connectionId, inpFrame) {
    return {
      connectionId: connectionId,
      operates: inpFrame.operates
    };
  }

  function _reportPossibleCrUseOfMsgInpFrame(extras) {
    _reporterNs.report("MsgInpFrame", "./protocols/MsgInpFrame", _context.meta, extras);
  }

  _export({
    buildGameSyncFrame: buildGameSyncFrame,
    buildConnectionInputFrame: buildConnectionInputFrame
  });

  return {
    setters: [function (_unresolved_) {
      _reporterNs = _unresolved_;
    }, function (_cc) {
      _cclegacy = _cc.cclegacy;
    }],
    execute: function () {
      _crd = true;

      _cclegacy._RF.push({}, "5d89ak1PyhAf6CGVFMGfhUk", "GameSyncFrame", undefined);

      _cclegacy._RF.pop();

      _crd = false;
    }
  };
});
//# sourceMappingURL=GameSyncFrame.js.map