TeamTalk 5 C-API DLL  Version 5.8B
AbusePrevention Struct Reference

Properties to prevent server abuse. More...

#include <TeamTalk.h>

Public Attributes

INT32 nCommandsLimit
 Limit number of commands a user can send to the server. More...
 
INT32 nCommandsIntervalMSec
 Commands within given interval. More...
 

Detailed Description

Properties to prevent server abuse.

The AbusePrevention-struct is part of UserAccount and can be used to limit the number of commands a user can issue to the server.

Requires TeamTalk version 5.2.3.4896.

Definition at line 1919 of file TeamTalk.h.

Member Data Documentation

◆ nCommandsLimit

INT32 AbusePrevention::nCommandsLimit

Limit number of commands a user can send to the server.

This can be used to prevent flooding where a user is sending several hundred text messages to another user.

Values set like this: User can issue nCommandsLimit commands within duration nCommandsIntervalMSec. Put zeros to disable.

See also
CMDERR_COMMAND_FLOOD

Definition at line 1930 of file TeamTalk.h.

◆ nCommandsIntervalMSec

INT32 AbusePrevention::nCommandsIntervalMSec

Commands within given interval.

Definition at line 1932 of file TeamTalk.h.