先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
34 lines
1.4 KiB
C#
34 lines
1.4 KiB
C#
using asap.core;
|
|
using cfg;
|
|
using GameCore;
|
|
namespace GameCore
|
|
{
|
|
// public partial class FishingEventData
|
|
// {
|
|
// public readonly ChainPackWithProgressMigrationData ChainPackWithProgressMigrationData = new ChainPackWithProgressMigrationData();
|
|
// }
|
|
|
|
}
|
|
// public class ChainPackWithProgressMigrationData : ThanksGivingPackData
|
|
// {
|
|
// public new const string Key = "ThanksGivingPackMigrationData";
|
|
// public override string RedPointKey => "thanks_giving";
|
|
// protected override string key => Key;
|
|
// public void UpdateData(int eventId, int packId)
|
|
// {
|
|
// // Debug.Log($"<color=#f18c0a>Updatedata {e.ID}, {e.RedirectID}, {TokenProgress}, {ChainProgress}</color>");
|
|
// if (eventId == 0 || packId == 0)
|
|
// return;
|
|
// var oldData = GContext.container.Resolve<FishingEventData>().ThanksGivingPackData;
|
|
// if (!GContext.container.Resolve<Tables>().TbFishingEvent.DataMap.ContainsKey(oldData.EventId)
|
|
// && oldData.PackId == packId)
|
|
// {
|
|
// _data = new Data(eventId: eventId, redirectId: packId, tokenProgress: oldData.TokenProgress, chainProgress: oldData.ChainProgress);
|
|
// PlayFabMgr.Instance.UpdateUserDataValue(ThanksGivingPackData.Key, "");
|
|
// }
|
|
// else
|
|
// _data = new Data(eventId: eventId, redirectId: packId, tokenProgress: 0, chainProgress: 0);
|
|
// }
|
|
//
|
|
// }
|