Horizon Official Technical Documentation
ExpulsionLog.hpp
Go to the documentation of this file.
1/***************************************************
2 * _ _ _ *
3 * | | | | (_) *
4 * | |_| | ___ _ __ _ _______ _ __ *
5 * | _ |/ _ \| '__| |_ / _ \| '_ \ *
6 * | | | | (_) | | | |/ / (_) | | | | *
7 * \_| |_/\___/|_| |_/___\___/|_| |_| *
8 ***************************************************
9 * This file is part of Horizon (c).
10 *
11 * Copyright (c) 2019 Sagun K. (sagunxp@gmail.com).
12 * Copyright (c) 2019 Horizon Dev Team.
13 *
14 * Base Author - Sagun K. (sagunxp@gmail.com)
15 *
16 * This library is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation, either version 3 of the License, or
19 * (at your option) any later version.
20 *
21 * This library is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this library. If not, see <http://www.gnu.org/licenses/>.
28 **************************************************/
29
30#ifndef HORIZON_MODELS_GUILD_HLog_HPP
31#define HORIZON_MODELS_GUILD_HLog_HPP
32
33namespace Horizon
34{
35namespace Models
36{
37namespace Guild
38{
39class HLog
40{
41public:
42 HLog() { }
43 ~HLog() { }
44
45 /* Guild ID */
46 uint32_t get_guild_id() { return _guild_id; }
47 void set_guild_id(uint32_t guild_id) { _guild_id = guild_id; }
48 /* Expellee Name */
49 std::string &getExpelleeName() { return _expellee_name; }
50 void setExpelleeName(std::string const &name) { _expelle_name = name; }
51 /* Reason */
52 std::string &getReason() { return _reason; }
53 void setReason(std::string const &reason) { _reason = reason; }
54
55private:
56 uint32_t _guild_id;
57 std::string _expellee_name;
58 std::string _reason;
59}
60}
61}
62}
63
64#endif /* HORIZON_MODELS_GUILD_HLog_HPP */
Definition: ExpulsionLog.hpp:40
void setReason(std::string const &reason)
Definition: ExpulsionLog.hpp:53
void set_guild_id(uint32_t guild_id)
Definition: ExpulsionLog.hpp:47
HLog()
Definition: ExpulsionLog.hpp:42
std::string _expellee_name
Definition: ExpulsionLog.hpp:57
std::string & getReason()
Definition: ExpulsionLog.hpp:52
std::string & getExpelleeName()
Definition: ExpulsionLog.hpp:49
~HLog()
Definition: ExpulsionLog.hpp:43
uint32_t get_guild_id()
Definition: ExpulsionLog.hpp:46
uint32_t _guild_id
Definition: ExpulsionLog.hpp:56
void setExpelleeName(std::string const &name)
Definition: ExpulsionLog.hpp:50
std::string _reason
Definition: ExpulsionLog.hpp:58
Definition: Element.hpp:7