$treeview $search $mathjax
Stratagus  2.2.7
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

CNetworkCommand Class Reference

#include <network.h>

List of all members.


Public Member Functions

 CNetworkCommand ()
void Clear ()
network.cpp - The network.
void Serialize (unsigned char *p) const
 Number of NCQs in use.
void Deserialize (const unsigned char *p)

Static Public Member Functions

static size_t Size ()

Public Attributes

uint16_t Unit
uint16_t X
 Command for unit.
uint16_t Y
 Map position X.
uint16_t Dest
 Map position Y.

Detailed Description

Network command message.

Constructor & Destructor Documentation

CNetworkCommand::CNetworkCommand (  )  [inline]


Member Function Documentation

void CNetworkCommand::Clear (  )  [inline]

void CNetworkCommand::Serialize ( unsigned char *  p  )  const

Number of NCQs in use.

void CNetworkCommand::Deserialize ( const unsigned char *  p  ) 

static size_t CNetworkCommand::Size (  )  [inline, static]


Member Data Documentation

Command for unit.

Map position X.

Map position Y.


The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.