feat(消息): 添加推送消息sdk

This commit is contained in:
luying
2023-03-21 20:50:27 +08:00
parent 45fd46700f
commit 65a94fc4cc
19 changed files with 409 additions and 17 deletions

View File

@@ -135,6 +135,7 @@ import { DicGVGVestigeLeagueRank, dicGVGVestigeLeagueRank, loadGVGVestigeLeagueR
import { DicGVGVestigePlayerRank, dicGVGVestigePlayerRank, loadGVGVestigePlayerRank } from "./dictionary/DicGVGVestigePlayerRank";
import { dicGVGAreaPoint, loadGVGAreaPoint, dicGVGPointsByAreaId } from "./dictionary/DicGVGAreaPoint";
import { DicGVGBattleRankReward, dicGVGBattleRankReward, loadGVGBattleRankReward } from './dictionary/DicGVGBattleRankReward';
import { dicPushMessage, loadPushMessage } from './dictionary/DicPushMessage';
export const gameData = {
daily: dicDaily,
@@ -343,6 +344,7 @@ export const gameData = {
gvgTeamDurability: new Map<number, number>(),
gvgPointByAreaId: dicGVGPointsByAreaId,
gvgReviveGold: new Map<number|'max', number>(),
dicPushMessage: dicPushMessage
};
// 在此提供一些原先在gamedata中提供的方法以便更方便获取gameData数据
@@ -1486,6 +1488,7 @@ function loadDatas() {
loadGVGVestigePlayerRank();
loadGVGAreaPoint();
loadGVGBattleRankReward();
loadPushMessage();
}
// 重载dicParam