fix errors

This commit is contained in:
Mikhail Tyukin
2025-09-28 10:20:50 -04:00
parent f470e054cf
commit 775092b652
2 changed files with 3 additions and 3 deletions

View File

@@ -174,7 +174,7 @@ namespace EpinelPS.Data
public readonly Dictionary<int, ProductOfferRecord> ProductOffers = [];
[LoadRecord("PopupPackageListTable.json", "Id")]
public readonly Dictionary<int, ProductOfferRecord> PopupPackages = [];
public readonly Dictionary<int, PopupPackageListRecord> PopupPackages = [];
[LoadRecord("InterceptNormalTable.json", "Id")]
public readonly Dictionary<int, InterceptNormalRecord> InterceptNormal = [];
@@ -248,7 +248,7 @@ namespace EpinelPS.Data
[LoadRecord("EventMvgQuestTable.json", "Id")]
public readonly Dictionary<int, EventMVGQuestRecord_Raw> EventMvgQuestTable = [];
[LoadRecord("EventMvgQuestTable.json", "Id")]
[LoadRecord("EventMvgShopTable.json", "Id")]
public readonly Dictionary<int, EventMVGShopRecord_Raw> EventMvgShopTable = [];
[LoadRecord("EventMVGMissionTable.json", "Id")]

View File

@@ -13,7 +13,7 @@ namespace EpinelPS.LobbyServer.Shop.PackageShop
ResGetPopupPackageState response = new();
// disable ads
foreach (KeyValuePair<int, ProductOfferRecord> item in GameData.Instance.PopupPackages)
foreach (KeyValuePair<int, PopupPackageListRecord> item in GameData.Instance.PopupPackages)
response.AppearedList.Add(item.Key);
await WriteDataAsync(response);