class

MAntiCheatSubsystem

Module
Networking
Header
#include "Networking/Subsystems/MAntiCheatSubsystem.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
boolIsAntiCheatActiveTrue when an anti-cheat service is registered and running.
boolIsTrustedThe peer the service currently trusts.
std::stringGetClientStatus"unknown", "pending", "trusted" or "untrusted".
boolKickDisconnects the peer with a reason the service and the log keep.

Function details

IsAntiCheatActive

C++
bool IsAntiCheatActive() const

True when an anti-cheat service is registered and running.

IsTrusted

C++
bool IsTrusted(int peerId) const

The peer the service currently trusts. With no service every peer is trusted, so a graph needs no branch for the unprotected case.

GetClientStatus

C++
std::string GetClientStatus(int peerId) const

"unknown", "pending", "trusted" or "untrusted".

Kick

C++
bool Kick(int peerId, const std::string& reason)

Disconnects the peer with a reason the service and the log keep. Server only; false when the peer is not connected.

Generated from Networking/Subsystems/MAntiCheatSubsystem.h via networking.json · Dec 5, 2026Version 1.1.0