blob: 612d98d29bedfbda09d2a9922f16e2a1d02a444e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
/*
* The ManaVerse Client
* Copyright (C) 2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2019 The ManaPlus Developers
*
* This file is part of The ManaVerse Client.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef NET_TMWA_GENERALHANDLER_H
#define NET_TMWA_GENERALHANDLER_H
#include "net/generalhandler.h"
namespace TmwAthena
{
class AdminHandler;
class BarterHandler;
class BeingHandler;
class BuySellHandler;
class CharServerHandler;
class ChatHandler;
class ClanHandler;
class GameHandler;
class GuildHandler;
class InventoryHandler;
class ItemHandler;
class LoginHandler;
class NpcHandler;
class PartyHandler;
class PetHandler;
class PlayerHandler;
class SkillHandler;
class TradeHandler;
class QuestHandler;
class ServerFeatures;
class AuctionHandler;
class AchievementHandler;
class AttendanceHandler;
class BankHandler;
class BattleGroundHandler;
class BuyingStoreHandler;
class CashShopHandler;
class ElementalHandler;
class FamilyHandler;
class FriendsHandler;
class HomunculusHandler;
class Mail2Handler;
class MailHandler;
class MapHandler;
class MarketHandler;
class MercenaryHandler;
class RefineHandler;
class RouletteHandler;
class SearchStoreHandler;
class VendingHandler;
class GeneralHandler final : public Net::GeneralHandler
{
public:
GeneralHandler();
A_DELETE_COPY(GeneralHandler)
~GeneralHandler() override final;
void load() const override final;
void reload() const override final;
void unload() const override final;
void flushNetwork() const override final;
void flushSend() const override final;
void clearHandlers() const override final;
void reloadPartially() const override final;
void gameStarted() const override final;
void gameEnded() const override final;
protected:
AdminHandler *mAdminHandler;
BeingHandler *mBeingHandler;
BuySellHandler *mBuySellHandler;
CharServerHandler *mCharServerHandler;
ChatHandler *mChatHandler;
ClanHandler *mClanHandler;
GameHandler *mGameHandler;
GuildHandler *mGuildHandler;
InventoryHandler *mInventoryHandler;
ItemHandler *mItemHandler;
LoginHandler *mLoginHandler;
NpcHandler *mNpcHandler;
PartyHandler *mPartyHandler;
PetHandler *mPetHandler;
PlayerHandler *mPlayerHandler;
SkillHandler *mSkillHandler;
TradeHandler *mTradeHandler;
QuestHandler *mQuestHandler;
ServerFeatures *mServerFeatures;
AuctionHandler *mAuctionHandler;
AchievementHandler *mAchievementHandler;
AttendanceHandler *mAttendanceHandler;
BankHandler *mBankHandler;
BattleGroundHandler *mBattleGroundHandler;
BuyingStoreHandler *mBuyingStoreHandler;
CashShopHandler *mCashShopHandler;
ElementalHandler *mElementalHandler;
FamilyHandler *mFamilyHandler;
FriendsHandler *mFriendsHandler;
HomunculusHandler *mHomunculusHandler;
Mail2Handler *mMail2Handler;
MailHandler *mMailHandler;
MapHandler *mMapHandler;
MarketHandler *mMarketHandler;
BarterHandler *mBarterHandler;
MercenaryHandler *mMercenaryHandler;
RefineHandler *mRefineHandler;
RouletteHandler *mRouletteHandler;
SearchStoreHandler *mSearchStoreHandler;
VendingHandler *mVendingHandler;
};
} // namespace TmwAthena
#endif // NET_TMWA_GENERALHANDLER_H
|