mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:00:54 +01:00
14 lines
388 B
C++
14 lines
388 B
C++
|
|
#include <Messages/NotifySyncExperience.h>
|
||
|
|
|
||
|
|
void NotifySyncExperience::SerializeRaw(TiltedPhoques::Buffer::Writer& aWriter) const noexcept
|
||
|
|
{
|
||
|
|
Serialization::WriteFloat(aWriter, Experience);
|
||
|
|
}
|
||
|
|
|
||
|
|
void NotifySyncExperience::DeserializeRaw(TiltedPhoques::Buffer::Reader& aReader) noexcept
|
||
|
|
{
|
||
|
|
ServerMessage::DeserializeRaw(aReader);
|
||
|
|
|
||
|
|
Experience = Serialization::ReadFloat(aReader);
|
||
|
|
}
|