mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
21 lines
544 B
C
21 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{};
|
||
|
|
};
|