﻿using EndlessWorlds.Lib.Data.GameTypes;
using EndlessWorlds.Lib.Networking.Packets;
using EndlessWorlds.Lib.Serialization.Attributes;

namespace EndlessWorlds.Server.Networking.Packets.ServerPackets
{
    /// <summary>
    /// Usually sent when the player logs in with a character. This packet initializes the player's character's data.
    /// </summary>
    [DataContract]
    [PacketId(0x01, PacketTypes.ServerPacket)]
    public class OwnedCharacterDataServerPacket : PacketBase
    {
        [DataMember] public string Name;
        [DataMember] public int Level;
        [DataMember] public PlayerRace Race;
        [DataMember] public Gender Gender;
        [DataMember] public Point Position;
    }
}
