refactor(kv): 整理存档接线并清理迁移冗余实现
This commit is contained in:
@@ -265,7 +265,7 @@ public class EventGatherCoreRewardInfo
|
||||
|
||||
public class EventGatherCorePlayfabData
|
||||
{
|
||||
readonly game.PlayerDataStorage.IPlayerSaveStore saveStore = GContext.container.Resolve<game.PlayerDataStorage.IPlayerSaveStore>();
|
||||
readonly Core.KV.IPlayerSaveStore saveStore = GContext.container.Resolve<Core.KV.IPlayerSaveStore>();
|
||||
|
||||
public int EventId { get; set; }
|
||||
public int TicketCount { get; set; }
|
||||
@@ -319,7 +319,7 @@ public class EventGatherCorePlayfabData
|
||||
|
||||
public static EventGatherCorePlayfabData Load()
|
||||
{
|
||||
var s = GContext.container.Resolve<game.PlayerDataStorage.IPlayerSaveStore>().Read(Key).ValueOrThrow();
|
||||
var s = GContext.container.Resolve<Core.KV.IPlayerSaveStore>().Read(Key).ValueOrThrow();
|
||||
var res = new EventGatherCorePlayfabData();
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user