//
// CtlPacket.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NosSmooth.Packets.Enums.Entities;
using NosSmooth.PacketSerializer.Abstractions.Attributes;
namespace NosSmooth.Packets.Server.Mates;
///
/// The client may control the given pet now.
///
/// The type of the mate entity (npc).
/// The id of the mate entity.
/// Unknown TODO.
/// Unknown TODO.
[PacketHeader("ctl", PacketSource.Server)]
[GenerateSerializer(true)]
public record CtlPacket
(
[PacketIndex(0)]
EntityType EntityType,
[PacketIndex(1)]
long EntityId,
[PacketIndex(2)]
byte Unknown1 = 3,
[PacketIndex(3)]
byte Unknown2 = 0
) : IPacket;