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
| Type | Name | Description |
|---|---|---|
static constexpr const char* | Section | Default "/Script/MowoAntiCheat.AntiCheatSettings". |
bool | RequireTrustedClients | Refuse 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. |
float | TrustGraceSeconds | Seconds 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_t | MaxMessageBytes | Largest 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_t | MaxMessagesPerSecond | Default 30. |
Public functions
| Returns | Name | Description |
|---|---|---|
std::filesystem::path | FileFor | |
bool | Load | |
bool | Parse | |
std::string | Write | |
bool | Save | |
bool | SameAs |
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() constSave
C++
bool Save(const std::filesystem::path& projectConfigDir, std::string* error = nullptr)SameAs
C++
bool SameAs(const FAntiCheatSettings& other) constGenerated from Networking/AntiCheat/AntiCheatSettings.h via networking.json · Dec 5, 2026Version 1.1.0