_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"
#include "net_message.h"
#include "net_lowlevel.h"
#include "netconnect.h"
#include "network.h"
#include "version.h"
Functions | |
net_message.cpp - The network message code. | |
size_t | serialize32 (unsigned char *buf, uint32_t data) |
size_t | serialize32 (unsigned char *buf, int32_t data) |
size_t | serialize16 (unsigned char *buf, uint16_t data) |
size_t | serialize16 (unsigned char *buf, int16_t data) |
size_t | serialize8 (unsigned char *buf, uint8_t data) |
size_t | serialize8 (unsigned char *buf, int8_t data) |
template<int N> | |
size_t | serialize (unsigned char *buf, const char(&data)[N]) |
size_t | serialize (unsigned char *buf, const std::string &s) |
size_t | serialize (unsigned char *buf, const std::vector< unsigned char > &data) |
size_t | deserialize32 (const unsigned char *buf, uint32_t *data) |
size_t | deserialize32 (const unsigned char *buf, int32_t *data) |
size_t | deserialize16 (const unsigned char *buf, uint16_t *data) |
size_t | deserialize16 (const unsigned char *buf, int16_t *data) |
size_t | deserialize8 (const unsigned char *buf, uint8_t *data) |
size_t | deserialize8 (const unsigned char *buf, int8_t *data) |
template<int N> | |
size_t | deserialize (const unsigned char *buf, char(&data)[N]) |
size_t | deserialize (const unsigned char *buf, std::string &s) |
size_t | deserialize (const unsigned char *buf, std::vector< unsigned char > &data) |
size_t deserialize | ( | const unsigned char * | buf, |
char(&) | data[N] | ||
) |
size_t deserialize | ( | const unsigned char * | buf, |
std::string & | s | ||
) |
size_t deserialize | ( | const unsigned char * | buf, |
std::vector< unsigned char > & | data | ||
) |
size_t deserialize16 | ( | const unsigned char * | buf, |
int16_t * | data | ||
) |
size_t deserialize16 | ( | const unsigned char * | buf, |
uint16_t * | data | ||
) |
size_t deserialize32 | ( | const unsigned char * | buf, |
int32_t * | data | ||
) |
size_t deserialize32 | ( | const unsigned char * | buf, |
uint32_t * | data | ||
) |
size_t deserialize8 | ( | const unsigned char * | buf, |
int8_t * | data | ||
) |
size_t deserialize8 | ( | const unsigned char * | buf, |
uint8_t * | data | ||
) |
size_t serialize | ( | unsigned char * | buf, |
const char(&) | data[N] | ||
) |
size_t serialize | ( | unsigned char * | buf, |
const std::string & | s | ||
) |
size_t serialize | ( | unsigned char * | buf, |
const std::vector< unsigned char > & | data | ||
) |
size_t serialize16 | ( | unsigned char * | buf, |
int16_t | data | ||
) |
size_t serialize16 | ( | unsigned char * | buf, |
uint16_t | data | ||
) |
size_t serialize32 | ( | unsigned char * | buf, |
int32_t | data | ||
) |
size_t serialize32 | ( | unsigned char * | buf, |
uint32_t | data | ||
) |
size_t serialize8 | ( | unsigned char * | buf, |
int8_t | data | ||
) |
size_t serialize8 | ( | unsigned char * | buf, |
uint8_t | data | ||
) |