|
@@ -33,7 +33,8 @@ namespace GFGGame
|
|
|
public static void GetGameCfg()
|
|
|
{
|
|
|
var url = LauncherConfig.cfgUrl.Replace("{cfgName}", GameGlobal.cfgName);
|
|
|
- HttpTool.Instance.Get(url, (string data) => {
|
|
|
+ HttpTool.Instance.Get(url, (string data) =>
|
|
|
+ {
|
|
|
//初始化游戏配置
|
|
|
GameConfig.InitData(data);
|
|
|
//初始化平台配置
|
|
@@ -103,6 +104,7 @@ namespace GFGGame
|
|
|
|
|
|
await InstanceZonesSProxy.GetInstanceZonesInfos();
|
|
|
await StorageSProxy.ReqGetClientValues();
|
|
|
+ await ActivitySProxy.ReqDailyLoginInfos();
|
|
|
|
|
|
GameGlobal.lastLoginTime = StorageDataManager.Instance.GetStorageValue(ConstStorageId.LAST_LOGIN_TIME);
|
|
|
long lastTime = GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
|
|
@@ -173,7 +175,7 @@ namespace GFGGame
|
|
|
//注销
|
|
|
public static async ETTask Logout()
|
|
|
{
|
|
|
- if(PlatformManager.IsTaptap)
|
|
|
+ if (PlatformManager.IsTaptap)
|
|
|
{
|
|
|
await TDSUser.Logout();
|
|
|
}
|
|
@@ -224,7 +226,6 @@ namespace GFGGame
|
|
|
RechargeSProxy.ReqRequestGiftBagInfo().Coroutine();
|
|
|
RechargeSProxy.ReqExchangeInfo().Coroutine();
|
|
|
DailyTaskSProxy.ReqDailyTaskInfos().Coroutine();
|
|
|
- ActivitySProxy.ReqDailyLoginInfos().Coroutine();
|
|
|
NoticeSProxy.ReqSystemNoticeList().Coroutine();
|
|
|
StudioSProxy.ReqStudioInfos().Coroutine();
|
|
|
MailSProxy.ReqMailCount().Coroutine();
|