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 125 of file inventoryitem.h.

◆ PickupQueue

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

Definition at line 35 of file inventoryhandler.h.

◆ WhisperQueue

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

Definition at line 33 of file chathandler.h.

Function Documentation

◆ networkThread()

int Ea::networkThread ( void *  data)

Definition at line 51 of file network.cpp.

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

References data, Ea::Network::realConnect(), and Ea::Network::receive().

Variable Documentation

◆ BUFFER_LIMIT

const unsigned int Ea::BUFFER_LIMIT = 930000

Definition at line 49 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 48 of file network.cpp.

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

◆ mapServer

ServerInfo Ea::mapServer

◆ taParty

Party * Ea::taParty = 0
data
uint32_t data
Definition: maptypeproperty2.h:3