mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:10:54 +01:00
22 lines
613 B
C
22 lines
613 B
C
#pragma once
|
|
|
|
#include "Message.h"
|
|
|
|
struct PartyInviteRequest final : ClientMessage
|
|
{
|
|
static constexpr ClientOpcode Opcode = kPartyInviteRequest;
|
|
|
|
PartyInviteRequest()
|
|
: ClientMessage(Opcode)
|
|
{
|
|
}
|
|
|
|
virtual ~PartyInviteRequest() = default;
|
|
|
|
void SerializeRaw(TiltedPhoques::Buffer::Writer& aWriter) const noexcept override;
|
|
void DeserializeRaw(TiltedPhoques::Buffer::Reader& aReader) noexcept override;
|
|
|
|
bool operator==(const PartyInviteRequest& achRhs) const noexcept { return PlayerId == achRhs.PlayerId && GetOpcode() == achRhs.GetOpcode(); }
|
|
|
|
uint32_t PlayerId{};
|
|
};
|