Stage rewards fully working, fixed main quest again, cash shop working

This commit is contained in:
Mikhail
2024-07-04 13:18:56 -04:00
parent 3f4ec386a4
commit 04a2b8d2fa
6 changed files with 110 additions and 44 deletions

View File

@@ -20,7 +20,7 @@ namespace nksrv.LobbyServer.Msgs.Shop
var response = new ResGetJupiterProductList();
foreach (var item in x.ProductIdList)
{
response.ProductInfoList.Add(new NetJupiterProductInfo() { CurrencyCode = "US", CurrencySymbol = "$", MicroPrice = 212, Price = "22", ProductId = item });
response.ProductInfoList.Add(new NetJupiterProductInfo() { CurrencyCode = "US", CurrencySymbol = "$", MicroPrice = 0, Price = "0", ProductId = item });
}
WriteData(response);
}

View File

@@ -0,0 +1,23 @@
using nksrv.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nksrv.LobbyServer.Msgs.Shop.InApp
{
[PacketPath("/inappshop/getreceivableproductlist")]
public class GetRetrivableProductList : LobbyMsgHandler
{
protected override async Task HandleAsync()
{
var x = await ReadData<ReqGetInAppShopReceivableProductList>();
var response = new ResGetInAppShopReceivableProductList();
// TODO
WriteData(response);
}
}
}