Files
fc/dev/project/library/imports/cd/cdb687bd-8110-448e-906c-ae2b87754857.js
2026-05-24 10:21:26 +08:00

33 lines
1.0 KiB
JavaScript

"use strict";
cc._RF.push(module, 'cdb68e9gRBEjpBsriuHdUhX', 'primus_model');
// Scripts/mod/pvp/primus/primus_model.js
"use strict";
// --------------------------------------------------------------------
// @author: xxx@syg.com(必填, 创建模块的人员)
// @description:
// 这里填写详细说明,主要填写该模块的功能简要
// <br/>Create: 2019-03-16 10:23:00
// --------------------------------------------------------------------
var BridgeClass = require("bridge.class");
var PrimusModel = cc.Class({
"extends": BridgeClass,
ctor: function ctor() {},
properties: {},
initConfig: function initConfig() {
// 是否显示红点 策划要求.点一次界面就消除
this.is_show_redpoint = true;
// 挑战次数
this.challenge_count = 0;
// 挑战冷却时间
this.challenge_time = 0;
},
recordChallengeCount: function recordChallengeCount(data) {
this.challenge_count = data.num || 0;
this.challenge_time = data.time || 0;
},
checkRedStatus: function checkRedStatus() {}
});
cc._RF.pop();