// // PulsePacket.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.PacketSerializer.Abstractions.Attributes; namespace NosSmooth.Packets.Client.Misc; /// /// Heartbeat packet. /// /// /// Sent every minute the client is connected on the server. /// /// The number of seconds till connected. (should be sent only as multiples of 60) /// Unknown TODO [GenerateSerializer(true)] [PacketHeader("pulse", PacketSource.Client)] public record PulsePacket ( [PacketIndex(0)] long Seconds, [PacketIndex(1)] short Unknown );