mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 17:10:54 +01:00
20 lines
549 B
C
20 lines
549 B
C
#pragma once
|
|
|
|
#include "Message.h"
|
|
|
|
#include <Structs/GameId.h>
|
|
|
|
struct RequestCurrentWeather final : ClientMessage
|
|
{
|
|
static constexpr ClientOpcode Opcode = kRequestCurrentWeather;
|
|
|
|
RequestCurrentWeather()
|
|
: ClientMessage(Opcode)
|
|
{
|
|
}
|
|
|
|
void SerializeRaw(TiltedPhoques::Buffer::Writer& aWriter) const noexcept override;
|
|
void DeserializeRaw(TiltedPhoques::Buffer::Reader& aReader) noexcept override;
|
|
|
|
bool operator==(const RequestCurrentWeather& acRhs) const noexcept { return GetOpcode() == acRhs.GetOpcode(); }
|
|
};
|