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

  var _reporterNs, _cclegacy, _crd, serviceProto;

  function _reportPossibleCrUseOfServiceProto(extras) {
    _reporterNs.report("ServiceProto", "tsrpc-proto", _context.meta, extras);
  }

  function _reportPossibleCrUseOfReqGetServerList(extras) {
    _reporterNs.report("ReqGetServerList", "./PtlGetServerList", _context.meta, extras);
  }

  function _reportPossibleCrUseOfResGetServerList(extras) {
    _reporterNs.report("ResGetServerList", "./PtlGetServerList", _context.meta, extras);
  }

  function _reportPossibleCrUseOfReqLoginToGame(extras) {
    _reporterNs.report("ReqLoginToGame", "./PtlLoginToGame", _context.meta, extras);
  }

  function _reportPossibleCrUseOfResLoginToGame(extras) {
    _reporterNs.report("ResLoginToGame", "./PtlLoginToGame", _context.meta, extras);
  }

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

      _cclegacy._RF.push({}, "b29f8VZA2lG/ZHbGjsRr930", "serviceProto", undefined);

      _export("serviceProto", serviceProto = {
        "version": 7,
        "services": [{
          "id": 2,
          "name": "GetServerList",
          "type": "api"
        }, {
          "id": 3,
          "name": "LoginToGame",
          "type": "api"
        }],
        "types": {
          "PtlGetServerList/ReqGetServerList": {
            "type": "Interface"
          },
          "PtlGetServerList/ResGetServerList": {
            "type": "Interface",
            "properties": [{
              "id": 1,
              "name": "GameServerList",
              "type": {
                "type": "Array",
                "elementType": {
                  "type": "Reference",
                  "target": "../GameServer/IGameServerInfo"
                }
              }
            }]
          },
          "../GameServer/IGameServerInfo": {
            "type": "Interface",
            "properties": [{
              "id": 0,
              "name": "serverId",
              "type": {
                "type": "String"
              }
            }, {
              "id": 1,
              "name": "serverName",
              "type": {
                "type": "String"
              }
            }, {
              "id": 2,
              "name": "serverWSUrl",
              "type": {
                "type": "String"
              }
            }, {
              "id": 3,
              "name": "clientCount",
              "type": {
                "type": "Number"
              }
            }, {
              "id": 4,
              "name": "extendData",
              "type": {
                "type": "Any"
              },
              "optional": true
            }]
          },
          "PtlLoginToGame/ReqLoginToGame": {
            "type": "Interface",
            "properties": [{
              "id": 0,
              "name": "userName",
              "type": {
                "type": "String"
              }
            }, {
              "id": 1,
              "name": "gameServerId",
              "type": {
                "type": "String"
              }
            }]
          },
          "PtlLoginToGame/ResLoginToGame": {
            "type": "Interface",
            "properties": [{
              "id": 0,
              "name": "gameLoginToken",
              "type": {
                "type": "String"
              }
            }]
          }
        }
      });

      _cclegacy._RF.pop();

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