The Battle for Wesnoth  1.15.12+dev
Public Member Functions | Public Attributes | List of all members
user_handler::ban_info Struct Reference

Ban status description. More...

#include <user_handler.hpp>

Public Member Functions

 ban_info ()
 ban_info (BAN_TYPE ptype, std::time_t pduration)

Public Attributes

 Ban type. More...
std::time_t duration
 Ban duration (0 if permanent) More...

Detailed Description

Ban status description.

Definition at line 94 of file user_handler.hpp.

Constructor & Destructor Documentation

◆ ban_info() [1/2]

user_handler::ban_info::ban_info ( )

Definition at line 99 of file user_handler.hpp.

◆ ban_info() [2/2]

user_handler::ban_info::ban_info ( BAN_TYPE  ptype,
std::time_t  pduration 

Definition at line 105 of file user_handler.hpp.

References user_handler::user_is_banned().

Member Data Documentation

◆ duration

std::time_t user_handler::ban_info::duration

Ban duration (0 if permanent)

Definition at line 97 of file user_handler.hpp.

Referenced by wesnothd::server::is_login_allowed().

◆ type

BAN_TYPE user_handler::ban_info::type

Ban type.

Definition at line 96 of file user_handler.hpp.

Referenced by user_handler::error::error(), and wesnothd::server::is_login_allowed().

The documentation for this struct was generated from the following file: