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