class

FAntiCheatSettings

A project's anti-cheat choices: Config/DefaultAntiCheat.ini, the editor's Project Settings > Anti-Cheat page. The dedicated server reads it to decide whether a joining client must be trusted before it is admitted. Off by default: a project without the file admits every client exactly as before.

Module
Networking
Header
#include "Networking/AntiCheat/AntiCheatSettings.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr const char*SectionDefault "/Script/MowoAntiCheat.AntiCheatSettings".
boolRequireTrustedClientsRefuse a client the active service does not report as trusted. With no service registered nothing can be untrusted, so the gate stays open. Default false.
floatTrustGraceSecondsSeconds a joining client may stay pending before it is dropped as untrusted. A service that answers within the window admits the client. Default 15.0f.
uint32_tMaxMessageBytesLargest integrity message a client may send, and how many it may send per second; beyond either the frame is dropped and the peer is kicked once it keeps going. Bounds what a hostile client can make the service parse. Default 4096.
uint32_tMaxMessagesPerSecondDefault 30.

Public functions

ReturnsNameDescription
std::filesystem::pathFileFor
boolLoad
boolParse
std::stringWrite
boolSave
boolSameAs

Function details

FileFor

C++
static std::filesystem::path FileFor(const std::filesystem::path& projectConfigDir)

Load

C++
bool Load(const std::filesystem::path& projectConfigDir, std::string* error = nullptr)

Parse

C++
bool Parse(const std::string& text, std::string* error = nullptr)

Write

C++
std::string Write() const

Save

C++
bool Save(const std::filesystem::path& projectConfigDir, std::string* error = nullptr)

SameAs

C++
bool SameAs(const FAntiCheatSettings& other) const
Generated from Networking/AntiCheat/AntiCheatSettings.h via networking.json · Dec 5, 2026Version 1.1.0