2024-02-07 15:40:36 +00:00
|
|
|
// Licensed to Timothy Schenk under the GNU AGPL Version 3 License.
|
2023-11-25 11:20:55 +00:00
|
|
|
|
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
|
|
|
|
2025-01-16 13:30:40 +00:00
|
|
|
public partial class ChannelSelectionHandler {
|
2023-11-25 11:20:55 +00:00
|
|
|
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);
|
|
|
|
}
|