____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

CNetworkChat Class Reference

#include <network.h>

List of all members.

Public Member Functions

 CNetworkChat ()
void Serialize (unsigned char *p)
void Deserialize (unsigned char *p)

Static Public Member Functions

static size_t Size ()

Public Attributes

Uint8 Player
 Sending player.
char Text [7]
 Message bytes.


Detailed Description

Network chat message.

Definition at line 146 of file network.h.


Constructor & Destructor Documentation

CNetworkChat::CNetworkChat (  )  [inline]

Definition at line 148 of file network.h.

References Player, and Text.


Member Function Documentation

void CNetworkChat::Serialize ( unsigned char *  p  ) 

Definition at line 350 of file network.cpp.

References Player, and Text.

void CNetworkChat::Deserialize ( unsigned char *  p  ) 

Definition at line 357 of file network.cpp.

References Player, and Text.

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

Definition at line 155 of file network.h.


Member Data Documentation

Sending player.

Definition at line 157 of file network.h.

Referenced by CNetworkChat(), Deserialize(), NetworkChatMessage(), ParseNetworkCommand(), and Serialize().

Message bytes.

Definition at line 158 of file network.h.

Referenced by CNetworkChat(), Deserialize(), NetworkChatMessage(), ParseNetworkCommand(), and Serialize().


The documentation for this class was generated from the following files:

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6