"implemented" gacha system

This commit is contained in:
Mikhail Thompson
2024-07-02 15:11:52 -04:00
parent 76ecf031b5
commit 53dab52b9a
5 changed files with 98 additions and 45 deletions

View File

@@ -1,4 +1,5 @@
using nksrv.Utils;
using nksrv.StaticInfo;
using nksrv.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -12,11 +13,12 @@ namespace nksrv.LobbyServer.Msgs.Character
{
protected override async Task HandleAsync()
{
var req = ReadData<ReqGetCharacterCostumeData>();
var req = await ReadData<ReqGetCharacterCostumeData>();
var response = new ResGetCharacterCostumeData();
// TODO implement
// return all
response.CostumeIds.AddRange(StaticDataParser.Instance.GetAllCostumes());
WriteData(response);
}