mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-16 08:54:47 +01:00
Update GetShopProductList.cs
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using EpinelPS.Utils;
|
using EpinelPS.StaticInfo;
|
||||||
|
using EpinelPS.Utils;
|
||||||
|
|
||||||
namespace EpinelPS.LobbyServer.Msgs.Shop
|
namespace EpinelPS.LobbyServer.Msgs.Shop
|
||||||
{
|
{
|
||||||
@@ -10,6 +11,18 @@ namespace EpinelPS.LobbyServer.Msgs.Shop
|
|||||||
var req = await ReadData<ReqShopProductList>();
|
var req = await ReadData<ReqShopProductList>();
|
||||||
var response = new ResShopProductList();
|
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);
|
await WriteDataAsync(response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user