Mana
Loading...
Searching...
No Matches
Namespaces | Variables
playerhandler.cpp File Reference
#include "net/manaserv/playerhandler.h"
#include "client.h"
#include "effectmanager.h"
#include "event.h"
#include "game.h"
#include "localplayer.h"
#include "log.h"
#include "particle.h"
#include "playerinfo.h"
#include "gui/viewport.h"
#include "net/net.h"
#include "net/abilityhandler.h"
#include "net/manaserv/connection.h"
#include "net/manaserv/messagein.h"
#include "net/manaserv/messageout.h"
#include "net/manaserv/manaserv_protocol.h"
#include "resources/abilitydb.h"
#include "resources/attributes.h"

Go to the source code of this file.

Namespaces

namespace  ManaServ
 

Variables

const int MAP_TELEPORT_SCROLL_DISTANCE = 256
 Max.
 
Net::PlayerHandlerplayerHandler
 
Net::AbilityHandlerabilityHandler
 

Variable Documentation

◆ abilityHandler

Net::AbilityHandler* abilityHandler
extern

Definition at line 57 of file net.cpp.

◆ MAP_TELEPORT_SCROLL_DISTANCE

const int MAP_TELEPORT_SCROLL_DISTANCE = 256

Max.

distance in tiles we are willing to scroll after a teleport; everything beyond will reset the port hard.

Todo:
: Make this parameter read from config.

Definition at line 51 of file playerhandler.cpp.

◆ playerHandler

Net::PlayerHandler* playerHandler
extern

Definition at line 56 of file net.cpp.