_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <net_message.h>
Public Member Functions | |
| CNetworkCommand () | |
| void | Clear () |
net_message.cpp - The network message code. | |
| size_t | Serialize (unsigned char *buf) const |
| size_t | Deserialize (const unsigned char *buf) |
Static Public Member Functions | |
| static size_t | Size () |
Public Attributes | |
| uint16_t | Unit |
| uint16_t | X |
| Command for unit. More... | |
| uint16_t | Y |
| Map position X. More... | |
| uint16_t | Dest |
| Map position Y. More... | |
Network command message.
|
inline |
|
inline |
| size_t CNetworkCommand::Deserialize | ( | const unsigned char * | buf | ) |
| size_t CNetworkCommand::Serialize | ( | unsigned char * | buf | ) | const |
|
inlinestatic |
| uint16_t CNetworkCommand::Dest |
Map position Y.
| uint16_t CNetworkCommand::Unit |
| uint16_t CNetworkCommand::X |
Command for unit.
| uint16_t CNetworkCommand::Y |
Map position X.
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.