mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 15:34:36 +01:00
fix errors
This commit is contained in:
@@ -174,7 +174,7 @@ namespace EpinelPS.Data
|
|||||||
public readonly Dictionary<int, ProductOfferRecord> ProductOffers = [];
|
public readonly Dictionary<int, ProductOfferRecord> ProductOffers = [];
|
||||||
|
|
||||||
[LoadRecord("PopupPackageListTable.json", "Id")]
|
[LoadRecord("PopupPackageListTable.json", "Id")]
|
||||||
public readonly Dictionary<int, ProductOfferRecord> PopupPackages = [];
|
public readonly Dictionary<int, PopupPackageListRecord> PopupPackages = [];
|
||||||
|
|
||||||
[LoadRecord("InterceptNormalTable.json", "Id")]
|
[LoadRecord("InterceptNormalTable.json", "Id")]
|
||||||
public readonly Dictionary<int, InterceptNormalRecord> InterceptNormal = [];
|
public readonly Dictionary<int, InterceptNormalRecord> InterceptNormal = [];
|
||||||
@@ -248,7 +248,7 @@ namespace EpinelPS.Data
|
|||||||
[LoadRecord("EventMvgQuestTable.json", "Id")]
|
[LoadRecord("EventMvgQuestTable.json", "Id")]
|
||||||
public readonly Dictionary<int, EventMVGQuestRecord_Raw> EventMvgQuestTable = [];
|
public readonly Dictionary<int, EventMVGQuestRecord_Raw> EventMvgQuestTable = [];
|
||||||
|
|
||||||
[LoadRecord("EventMvgQuestTable.json", "Id")]
|
[LoadRecord("EventMvgShopTable.json", "Id")]
|
||||||
public readonly Dictionary<int, EventMVGShopRecord_Raw> EventMvgShopTable = [];
|
public readonly Dictionary<int, EventMVGShopRecord_Raw> EventMvgShopTable = [];
|
||||||
|
|
||||||
[LoadRecord("EventMVGMissionTable.json", "Id")]
|
[LoadRecord("EventMVGMissionTable.json", "Id")]
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ namespace EpinelPS.LobbyServer.Shop.PackageShop
|
|||||||
ResGetPopupPackageState response = new();
|
ResGetPopupPackageState response = new();
|
||||||
|
|
||||||
// disable ads
|
// 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);
|
response.AppearedList.Add(item.Key);
|
||||||
|
|
||||||
await WriteDataAsync(response);
|
await WriteDataAsync(response);
|
||||||
|
|||||||
Reference in New Issue
Block a user