![]() |
DDNet documentation
|
#include <gamecontext.h>
Public Member Functions | |
| CMutes (const char *pSystemName) | |
| bool | Mute (const NETADDR *pAddr, int Seconds, const char *pReason, const char *pClientName, bool InitialDelay) |
| void | UnmuteIndex (int Index) |
| void | UnmuteAddr (const NETADDR *pAddr) |
| void | UnmuteExpired () |
| std::optional< CMute > | IsMuted (const NETADDR *pAddr, bool RespectInitialDelay) const |
| void | Print (int Page) const |
Private Attributes | |
| const char * | m_pSystemName |
| std::map< NETADDR, CMute > | m_Mutes |
| CMutes::CMutes | ( | const char * | pSystemName | ) |
| bool CMutes::Mute | ( | const NETADDR * | pAddr, |
| int | Seconds, | ||
| const char * | pReason, | ||
| const char * | pClientName, | ||
| bool | InitialDelay ) |
| void CMutes::Print | ( | int | Page | ) | const |
| void CMutes::UnmuteAddr | ( | const NETADDR * | pAddr | ) |
| void CMutes::UnmuteExpired | ( | ) |
| void CMutes::UnmuteIndex | ( | int | Index | ) |
|
private |