mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
24 lines
722 B
C
24 lines
722 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "Message.h"
|
||
|
|
#include "Structs/CachedString.h"
|
||
|
|
|
||
|
|
struct NotifyScriptAnimation final : ServerMessage
|
||
|
|
{
|
||
|
|
static constexpr ServerOpcode Opcode = kNotifyScriptAnimation;
|
||
|
|
|
||
|
|
NotifyScriptAnimation()
|
||
|
|
: ServerMessage(Opcode)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
void SerializeRaw(TiltedPhoques::Buffer::Writer& aWriter) const noexcept override;
|
||
|
|
void DeserializeRaw(TiltedPhoques::Buffer::Reader& aReader) noexcept override;
|
||
|
|
|
||
|
|
bool operator==(const NotifyScriptAnimation& acRhs) const noexcept { return FormID == acRhs.FormID && Animation == acRhs.Animation && EventName == acRhs.EventName && GetOpcode() == acRhs.GetOpcode(); }
|
||
|
|
|
||
|
|
uint32_t FormID;
|
||
|
|
CachedString Animation;
|
||
|
|
CachedString EventName;
|
||
|
|
};
|