/// <inheritdoc />
        public CharacterSelectionAckEventArgs(CharacterSelectionAckType ackType, byte slotId)
        {
            if (!Enum.IsDefined(typeof(CharacterSelectionAckType), ackType))
            {
                throw new InvalidEnumArgumentException(nameof(ackType), (int)ackType, typeof(CharacterSelectionAckType));
            }

            AckType = ackType;
            SlotId  = slotId;
        }
        public CharacterCharacterSelectionAckPayload(int slot, CharacterSelectionAckType type)
            : this()
        {
            if (!Enum.IsDefined(typeof(CharacterSelectionAckType), type))
            {
                throw new InvalidEnumArgumentException(nameof(type), (int)type, typeof(CharacterSelectionAckType));
            }

            Slot    = slot;
            AckType = type;
        }