F4MP/codigos originales/tiltedcode/Code/encoding/Messages/NotifyRespawn.h
2026-01-06 18:53:59 +01:00

19 lines
538 B
C

#pragma once
#include "Message.h"
struct NotifyRespawn final : ServerMessage
{
static constexpr ServerOpcode Opcode = kNotifyRespawn;
NotifyRespawn()
: ServerMessage(Opcode)
{
}
void SerializeRaw(TiltedPhoques::Buffer::Writer& aWriter) const noexcept override;
void DeserializeRaw(TiltedPhoques::Buffer::Reader& aReader) noexcept override;
bool operator==(const NotifyRespawn& acRhs) const noexcept { return GetOpcode() == acRhs.GetOpcode() && ActorId == acRhs.ActorId; }
uint32_t ActorId;
};