continuity/Continuity.AuthServer/PacketHandlers/ChannelSelectionHandler.Projections.cs

24 lines
702 B
C#
Raw Normal View History

2023-11-25 11:20:55 +00:00
// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License.
using Continuity.AuthServer.DB.Documents;
2023-11-25 11:20:55 +00:00
using Wonderking.Game.Data.Character;
using Wonderking.Packets.Outgoing.Data;
namespace Continuity.AuthServer.PacketHandlers;
2023-11-25 11:20:55 +00:00
public partial class ChannelSelectionHandler
{
private sealed record InventoryItemProjection(ushort ItemId, byte Slot, InventoryTab InventoryTab);
private sealed record CharacterDataProjection(
string Name,
JobData JobData,
Gender Gender,
ushort Level,
long Experience,
BaseStats BaseStats,
int Health,
int Mana,
IEnumerable<InventoryItemProjection> InventoryItems);
}