Update GetShopProductList.cs

This commit is contained in:
Mikhail
2024-12-20 15:53:29 -05:00
parent 5028d24b5c
commit 8030745337

View File

@@ -1,4 +1,5 @@
using EpinelPS.Utils;
using EpinelPS.StaticInfo;
using EpinelPS.Utils;
namespace EpinelPS.LobbyServer.Msgs.Shop
{
@@ -10,6 +11,18 @@ namespace EpinelPS.LobbyServer.Msgs.Shop
var req = await ReadData<ReqShopProductList>();
var response = new ResShopProductList();
response.Shops.Add(new NetShopProductData()
{
FreeRenewCount = 1,
ShopTid = 1,
ShopCategory = (int)ShopCategoryType.Normal,
RenewAt = DateTime.Now.AddDays(1).Ticks,
NextRenewAt = DateTime.Now.AddDays(1).Ticks,
RenewCount = 0
});
response.Shops[0].List.Add(new NetShopProductInfoData() { BuyCount = 0, ProductId = 201, CorporationType = 0});
await WriteDataAsync(response);
}
}