chore(m2): 保存功能验收及后续清理前检查点

This commit is contained in:
Liubing\LB
2026-10-10 20:40:27 +08:00
parent d3c5394a55
commit 144e7f739f
110 changed files with 12672 additions and 7514 deletions

View File

@@ -581,8 +581,11 @@ public class DeBugPanel : MonoBehaviour
private void ChangeMMT()
{
var userService = GContext.container.Resolve<game.IUserService>() as game.PlayFabUserService;
if (userService == null) return;
var userService = GContext.container.Resolve<game.IUserService>();
if (userService is not game.PlayFabUserService && userService is not game.KVUserService)
{
return;
}
string mmt = inputField_mmt.text;
List<string> mmts = mmt.ToLower().Select(c => c.ToString()).ToList();
var mmDatas = GContext.container.Resolve<Tables>().TbMMTInit.DataList;
@@ -594,7 +597,14 @@ public class DeBugPanel : MonoBehaviour
value |= 1 << (mmDatas[i].ID - 1001);
}
}
userService.GMMMT(value);
if (userService is game.KVUserService kvUserService)
{
kvUserService.GMMMT(value);
}
else
{
((game.PlayFabUserService)userService).GMMMT(value);
}
}
private string _cfg_ver;