ManaPlus
Namespaces | Macros | Variables
messageout.cpp File Reference

(986a3bf)

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

Go to the source code of this file.

Namespaces

 Net
 

Macros

#define LOBYTE(w)   (CAST_U8(w))
 
#define HIBYTE(w)   (CAST_U8((CAST_U16(w)) >> 8))
 

Variables

int itemIdLen
 

Macro Definition Documentation

◆ HIBYTE

#define HIBYTE (   w)    (CAST_U8((CAST_U16(w)) >> 8))

Definition at line 146 of file messageout.cpp.

◆ LOBYTE

#define LOBYTE (   w)    (CAST_U8(w))

Definition at line 145 of file messageout.cpp.

Variable Documentation

◆ itemIdLen

int itemIdLen
extern

Definition at line 130 of file client.cpp.

Referenced by Net::MessageOut::writeItemId().