Mana
Loading...
Searching...
No Matches
net.h
Go to the documentation of this file.
1/*
2 * The Mana Client
3 * Copyright (C) 2009 The Mana World Development Team
4 * Copyright (C) 2009-2012 The Mana Developers
5 *
6 * This file is part of The Mana Client.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
32#include "net/serverinfo.h"
33
34namespace Net {
35
36class AdminHandler;
37class CharHandler;
38class ChatHandler;
39class GameHandler;
40class GeneralHandler;
41class GuildHandler;
42class InventoryHandler;
43class LoginHandler;
44class NpcHandler;
45class PartyHandler;
46class PlayerHandler;
47class AbilityHandler;
48class TradeHandler;
49
50AdminHandler *getAdminHandler();
51CharHandler *getCharHandler();
52ChatHandler *getChatHandler();
53GameHandler *getGameHandler();
54GeneralHandler *getGeneralHandler();
55GuildHandler *getGuildHandler();
56InventoryHandler *getInventoryHandler();
57LoginHandler *getLoginHandler();
58NpcHandler *getNpcHandler();
59PartyHandler *getPartyHandler();
60PlayerHandler *getPlayerHandler();
61AbilityHandler *getAbilityHandler();
62TradeHandler *getTradeHandler();
63
65
69void connectToServer(ServerInfo &server);
70
71void unload();
72
73} // namespace Net
The network communication layer.
LoginHandler * getLoginHandler()
Definition net.cpp:95
void connectToServer(ServerInfo &server)
Handles server detection and connection.
Definition net.cpp:130
ServerType getNetworkType()
Definition net.cpp:200
GameHandler * getGameHandler()
Definition net.cpp:75
CharHandler * getCharHandler()
Definition net.cpp:65
ChatHandler * getChatHandler()
Definition net.cpp:70
PlayerHandler * getPlayerHandler()
Definition net.cpp:110
GuildHandler * getGuildHandler()
Definition net.cpp:85
GeneralHandler * getGeneralHandler()
Definition net.cpp:80
AbilityHandler * getAbilityHandler()
Definition net.cpp:115
void unload()
Definition net.cpp:177
TradeHandler * getTradeHandler()
Definition net.cpp:120
AdminHandler * getAdminHandler()
Definition net.cpp:60
PartyHandler * getPartyHandler()
Definition net.cpp:105
InventoryHandler * getInventoryHandler()
Definition net.cpp:90
NpcHandler * getNpcHandler()
Definition net.cpp:100
ServerType
Definition serverinfo.h:29