F4MP/codigos originales/tiltedcode/Code/encoding/Structs/ServerSettings.h

21 lines
544 B
C
Raw Normal View History

#pragma once
using TiltedPhoques::Buffer;
struct ServerSettings
{
bool operator==(const ServerSettings& acRhs) const noexcept;
bool operator!=(const ServerSettings& acRhs) const noexcept;
void Serialize(TiltedPhoques::Buffer::Writer& aWriter) const noexcept;
void Deserialize(TiltedPhoques::Buffer::Reader& aReader) noexcept;
uint32_t Difficulty{};
bool GreetingsEnabled{};
bool PvpEnabled{};
bool SyncPlayerHomes{};
bool DeathSystemEnabled{};
bool SyncPlayerCalendar{};
bool AutoPartyJoin{};
};