64 lines
1.2 KiB
C#
64 lines
1.2 KiB
C#
using System.Collections.Generic;
|
|
|
|
public class GameDataMgr:SingletonAutoMono<GameDataMgr>
|
|
{
|
|
//排行榜数据
|
|
public Dictionary<string, List<PlayerData>> rankData;
|
|
|
|
//总排行榜数据
|
|
public Dictionary<string, List<PlayerData>> rankAllData;
|
|
|
|
//所有关卡名字与id
|
|
public List<AllLevData> levList;
|
|
|
|
//登录消息
|
|
public LoginMsg loginMsg;
|
|
|
|
//每一关分数消息 里面的openId在loding界面就已经改好了
|
|
public LevRankMsg levRankMsg;
|
|
|
|
//本机玩家的数据
|
|
public PlayerData player;
|
|
//玩家模型
|
|
public PlayerData playerTemp;
|
|
|
|
//关卡萌宠信息
|
|
public LevData levData;
|
|
|
|
//上传提现
|
|
public GoldRealMsg goldRealMsg;
|
|
|
|
//获取提现记录
|
|
public List<GoldRealMsg> goldRealList;
|
|
|
|
//分数上传
|
|
public ScoreUploadMsg scoreUploadMsg;
|
|
|
|
|
|
public CommonMsg commonMsg;
|
|
|
|
public List<MailInfo> info;
|
|
|
|
public MusicData musicData;
|
|
|
|
private GameDataMgr()
|
|
{
|
|
loginMsg = new LoginMsg();
|
|
|
|
levRankMsg = new LevRankMsg();
|
|
|
|
goldRealMsg=new GoldRealMsg();
|
|
|
|
scoreUploadMsg=new ScoreUploadMsg();
|
|
|
|
commonMsg = new CommonMsg();
|
|
|
|
musicData = new MusicData();
|
|
}
|
|
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|