mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
21 lines
635 B
C
21 lines
635 B
C
#pragma once
|
|
|
|
#include "Message.h"
|
|
|
|
struct NotifyDialogue final : ServerMessage
|
|
{
|
|
static constexpr ServerOpcode Opcode = kNotifyDialogue;
|
|
|
|
NotifyDialogue()
|
|
: ServerMessage(Opcode)
|
|
{
|
|
}
|
|
|
|
void SerializeRaw(TiltedPhoques::Buffer::Writer& aWriter) const noexcept override;
|
|
void DeserializeRaw(TiltedPhoques::Buffer::Reader& aReader) noexcept override;
|
|
|
|
bool operator==(const NotifyDialogue& achRhs) const noexcept { return GetOpcode() == achRhs.GetOpcode() && ServerId == achRhs.ServerId && SoundFilename == achRhs.SoundFilename; }
|
|
|
|
uint32_t ServerId{};
|
|
TiltedPhoques::String SoundFilename{};
|
|
};
|