mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 23:20:53 +01:00
20 lines
582 B
C
20 lines
582 B
C
#pragma once
|
|
|
|
#include "Message.h"
|
|
|
|
struct NotifyRelinquishControl final : ServerMessage
|
|
{
|
|
static constexpr ServerOpcode Opcode = kNotifyRelinquishControl;
|
|
|
|
NotifyRelinquishControl()
|
|
: ServerMessage(Opcode)
|
|
{
|
|
}
|
|
|
|
void SerializeRaw(TiltedPhoques::Buffer::Writer& aWriter) const noexcept override;
|
|
void DeserializeRaw(TiltedPhoques::Buffer::Reader& aReader) noexcept override;
|
|
|
|
bool operator==(const NotifyRelinquishControl& acRhs) const noexcept { return GetOpcode() == acRhs.GetOpcode() && ServerId == acRhs.ServerId; }
|
|
|
|
uint32_t ServerId;
|
|
};
|