d1a1eeaa-aa6b-45f1-bd82-8aa5cb9e6743.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. "use strict";
  2. cc._RF.push(module, 'd1a1e6qqmtF8b2CiqXLnmdD', 'YZ_Tool_GoogleWeb');
  3. // common-plugin/Scripts/YZ_Tool_GoogleWeb.ts
  4. "use strict";
  5. Object.defineProperty(exports, "__esModule", { value: true });
  6. var Utils_1 = require("./Utils");
  7. var ST_ServerUrl = "http://apps.youlesp.com/aconfig?";
  8. var ST_DefaultServerConfig = "";
  9. var ST_NativeInsertAdClickTimes = "NativeInsertAdClickTimes";
  10. var ST_LastDateTime = "LastDateTime";
  11. var POST_ServerUrl = "https://report.youletd.com/gss?";
  12. var YZ_Tool_GoogleWeb = /** @class */ (function () {
  13. function YZ_Tool_GoogleWeb() {
  14. this._serverConfig = null;
  15. }
  16. Object.defineProperty(YZ_Tool_GoogleWeb.prototype, "ServerConfig", {
  17. get: function () {
  18. return this._serverConfig;
  19. },
  20. enumerable: false,
  21. configurable: true
  22. });
  23. /**
  24. *
  25. * @param data 配置数据
  26. */
  27. YZ_Tool_GoogleWeb.prototype.init = function (data) {
  28. this._loadConfig();
  29. };
  30. YZ_Tool_GoogleWeb.prototype._loadConfig = function () {
  31. Utils_1.utils.emitServerInitEvent();
  32. };
  33. /**
  34. * 上报自定义事件
  35. * @param level 当前关卡ID
  36. * @param levelName 关卡名称
  37. * @param status 状态
  38. */
  39. YZ_Tool_GoogleWeb.prototype.sendEvent = function (eventName) {
  40. };
  41. /**
  42. *
  43. * @param level 当前关卡ID
  44. * @param levelName 关卡名称
  45. * @param status 状态
  46. */
  47. YZ_Tool_GoogleWeb.prototype.postLevel = function (level, status, levelName) {
  48. };
  49. return YZ_Tool_GoogleWeb;
  50. }());
  51. exports.default = YZ_Tool_GoogleWeb;
  52. cc._RF.pop();