龙虎榜
This commit is contained in:
parent
816b16ee90
commit
245629db0f
@ -68,7 +68,7 @@ export class SlotRanking extends Component {
|
||||
|
||||
this.rankingBtn.setPosition(this.startPos);
|
||||
this.rankingBtn.active = SlotRankingDataManager.instance.getRankListStatus() === 0 || SlotRankingDataManager.instance.getRankListStatus() === 1 || SlotRankingDataManager.instance.getRankMaxCloseTimeIsBiggerThanCurTime();
|
||||
|
||||
|
||||
this.rankingBtn.getComponent(Button).interactable = SlotRankingDataManager.instance.getRankListStatus() === 0;
|
||||
this.rankingBtn.getChildByName('icon').getComponent(sp.Skeleton).color = SlotRankingDataManager.instance.getRankListStatus() === 0 ? Color.WHITE : Color.GRAY;
|
||||
|
||||
@ -136,19 +136,19 @@ export class SlotRanking extends Component {
|
||||
}
|
||||
|
||||
// 如果正在自动旋转,不可点击
|
||||
if (this.slotScene.isAutoSpin) {
|
||||
if (this.slotScene.gameState.isAutoSpin) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.slotScene.isFreeSpin) {
|
||||
if (this.slotScene.gameState.isInFreeSpin) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.slotScene.isFeatureBuySpin) {
|
||||
if (this.slotScene.gameState.isFeatureBuySpin) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.slotScene.hasEliminate) {
|
||||
if (this.slotScene.gameState.isEliminating) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ import { PREVIEW } from "cc/env"
|
||||
const gameId = "rp_11001";
|
||||
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
||||
let apiaddr = "";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3NjcwMTU2MDMsIlMiOjEwMDAsIkQiOiJycF8xMTAwMSJ9.ZFVTUEx8b15hwZk9wW3bJxKMkpA3IUlwbgYH5uY-uhA";
|
||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3NjcxMDIxMTgsIlMiOjk5OCwiRCI6InJwXzExMDAxIn0.qCCuGCYZ-poXpw3BxTLjKnCm9SDdzg7Gd-7H8I5MlzQ";
|
||||
|
||||
|
||||
let language = "en"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user