The Battle for Wesnoth  1.15.0-dev
Public Member Functions | Public Attributes | List of all members
wesnothd::server::connection_log Struct Reference

Public Member Functions

 connection_log (std::string _nick, std::string _ip, std::time_t _log_off)
 
bool operator== (const connection_log &c) const
 

Public Attributes

std::string nick
 
std::string ip
 
std::time_t log_off
 

Detailed Description

Definition at line 76 of file server.hpp.

Constructor & Destructor Documentation

◆ connection_log()

wesnothd::server::connection_log::connection_log ( std::string  _nick,
std::string  _ip,
std::time_t  _log_off 
)
inline

Definition at line 77 of file server.hpp.

Member Function Documentation

◆ operator==()

bool wesnothd::server::connection_log::operator== ( const connection_log c) const
inline

Definition at line 82 of file server.hpp.

References ip, and nick.

Member Data Documentation

◆ ip

std::string wesnothd::server::connection_log::ip

Definition at line 79 of file server.hpp.

Referenced by operator==(), and wesnothd::server::login_log::operator==().

◆ log_off

std::time_t wesnothd::server::connection_log::log_off

Definition at line 80 of file server.hpp.

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

◆ nick

std::string wesnothd::server::connection_log::nick

Definition at line 79 of file server.hpp.

Referenced by operator==().


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