2023-11-25 11:20:55 +00:00
|
|
|
// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License.
|
|
|
|
|
2024-01-29 07:39:18 +00:00
|
|
|
using Continuity.AuthServer.DB.Documents;
|
2023-11-25 11:20:55 +00:00
|
|
|
using Wonderking.Game.Data.Character;
|
|
|
|
using Wonderking.Packets.Outgoing.Data;
|
|
|
|
|
2024-01-29 07:39:18 +00:00
|
|
|
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);
|
|
|
|
}
|