F4MP/codigos originales/tiltedcode/Code/encoding/Structs/ServerSettings.h
2026-01-06 18:53:59 +01:00

20 lines
544 B
C

#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{};
};