The Battle for Wesnoth
1.19.5+dev
server
common
resultsets
ban_check.hpp
Go to the documentation of this file.
1
/*
2
Copyright (C) 2020 - 2024
3
Part of the Battle for Wesnoth Project https://www.wesnoth.org/
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY.
11
12
See the COPYING file for more details.
13
*/
14
15
#pragma once
16
17
#include "mariadb++/result_set.hpp"
18
19
#include "
server/common/resultsets/rs_base.hpp
"
20
21
class
ban_check
:
public
rs_base
22
{
23
public
:
24
ban_check
();
25
void
read
(mariadb::result_set_ref rslt);
26
long
get_ban_type
();
27
int
get_ban_duration
();
28
int
get_user_id
();
29
std::string
get_email
();
30
31
private
:
32
long
ban_type
;
33
int
ban_duration
;
34
int
user_id
;
35
std::string
email
;
36
};
ban_check
Definition:
ban_check.hpp:22
ban_check::get_ban_duration
int get_ban_duration()
ban_check::get_email
std::string get_email()
ban_check::get_ban_type
long get_ban_type()
ban_check::email
std::string email
Definition:
ban_check.hpp:35
ban_check::ban_duration
int ban_duration
Definition:
ban_check.hpp:33
ban_check::read
void read(mariadb::result_set_ref rslt)
ban_check::ban_check
ban_check()
ban_check::get_user_id
int get_user_id()
ban_check::user_id
int user_id
Definition:
ban_check.hpp:34
ban_check::ban_type
long ban_type
Definition:
ban_check.hpp:32
rs_base
Definition:
rs_base.hpp:20
rs_base.hpp
Generated by
1.9.1