ManaPlus
Namespaces | Data Structures | Typedefs | Functions | Variables
Ea Namespace Reference

Namespaces

 AdminRecv
 
 BeingRecv
 
 BuySellRecv
 
 CharServerRecv
 
 ChatRecv
 
 GameRecv
 
 InventoryRecv
 
 ItemRecv
 
 LoginRecv
 
 MapRecv
 
 NpcRecv
 
 PartyRecv
 
 PlayerRecv
 
 SkillRecv
 
 TradeRecv
 

Data Structures

class  AdminHandler
 
class  BeingHandler
 
class  BuySellHandler
 
class  CharServerHandler
 
class  ChatHandler
 
class  EquipBackend
 
class  GameHandler
 
class  InventoryHandler
 
class  InventoryItem
 
class  ItemHandler
 
class  LoginHandler
 
class  Network
 
class  NpcHandler
 
class  PartyHandler
 
class  PlayerHandler
 
class  SkillHandler
 
class  TradeHandler
 

Typedefs

typedef std::queue< std::string > WhisperQueue
 
typedef std::queue< BeingIdPickupQueue
 
typedef std::vector< InventoryItemInventoryItems
 

Functions

int networkThread (void *data)
 

Variables

ServerInfo mapServer
 
const unsigned int BUFFER_SIZE = 1000000
 
const unsigned int BUFFER_LIMIT = 930000
 
PartytaParty = 0
 

Typedef Documentation

◆ InventoryItems

typedef std::vector<InventoryItem> Ea::InventoryItems

Definition at line 126 of file inventoryitem.h.

◆ PickupQueue

typedef std::queue< BeingId > Ea::PickupQueue

Definition at line 36 of file inventoryhandler.h.

◆ WhisperQueue

typedef std::queue< std::string > Ea::WhisperQueue

Definition at line 34 of file chathandler.h.

Function Documentation

◆ networkThread()

int Ea::networkThread ( void *  data)

Definition at line 52 of file network.cpp.

53 {
54  Network *const network = static_cast<Network *>(data);
55 
56  if ((network == nullptr) || !network->realConnect())
57  return -1;
58 
59  network->receive();
60 
61  return 0;
62 }
uint32_t data

Variable Documentation

◆ BUFFER_LIMIT

const unsigned int Ea::BUFFER_LIMIT = 930000

Definition at line 50 of file network.cpp.

Referenced by Ea::Network::fixSendBuffer(), and Ea::Network::receive().

◆ BUFFER_SIZE

const unsigned int Ea::BUFFER_SIZE = 1000000

Definition at line 49 of file network.cpp.

Referenced by Ea::Network::receive().

◆ mapServer

ServerInfo Ea::mapServer
extern

◆ taParty

Party * Ea::taParty = 0