ManaPlus
Namespaces | Macros | Variables
messagein.cpp File Reference

(986a3bf)

#include "net/messagein.h"
#include "net/packetcounters.h"
#include "utils/cast.h"
#include "utils/stringutils.h"
#include "logger.h"
#include "debug.h"
#include <SDL_endian.h>

Go to the source code of this file.

Namespaces

 Net
 

Macros

#define MAKEWORD(low, high)
 

Variables

int itemIdLen
 
int packetVersionMain
 
int packetVersionRe
 
int packetVersionZero
 

Macro Definition Documentation

◆ MAKEWORD

#define MAKEWORD (   low,
  high 
)
Value:
(CAST_U16((CAST_U8(low)) | \
(CAST_U16(CAST_U8(high))) << 8))
#define CAST_U16
Definition: cast.h:29
#define CAST_U8
Definition: cast.h:27

Definition at line 42 of file messagein.cpp.

Variable Documentation

◆ itemIdLen

int itemIdLen
extern

Definition at line 130 of file client.cpp.

Referenced by Net::MessageIn::readItemId().

◆ packetVersionMain

int packetVersionMain
extern

Definition at line 126 of file client.cpp.

Referenced by Net::MessageIn::getVersionMain(), and Client::unloadData().

◆ packetVersionRe

int packetVersionRe
extern

Definition at line 127 of file client.cpp.

Referenced by Net::MessageIn::getVersionRe(), and Client::unloadData().

◆ packetVersionZero

int packetVersionZero
extern

Definition at line 128 of file client.cpp.

Referenced by Net::MessageIn::getVersionZero(), and Client::unloadData().