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

namespace Assets.Client.Networking.Packets.ClientPackets
{
    [DataContract]
    [PacketId(0x01, PacketTypes.ClientPacket)]
    public class EnterWorldClientPacket : PacketBase
    {
        /// <summary>
        /// Index of the character on the account the user is trying to enter with.
        /// </summary>
        [DataMember] public byte CharacterIndex;

        public EnterWorldClientPacket(byte characterIndex)
        {
            CharacterIndex = characterIndex;
        }
    }
}
