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

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CInitMessage_MapFileFragment Class Reference

#include <net_message.h>

Public Member Functions

 CInitMessage_MapFileFragment ()
 
const CInitMessage_HeaderGetHeader () const
 
net_message.cpp - The network message code.
 CInitMessage_MapFileFragment (const char *path, const char *data, uint32_t dataSize, uint32_t Fragment)
 
 CInitMessage_MapFileFragment (uint32_t Fragment)
 
const unsigned char * Serialize () const
 
void Deserialize (const unsigned char *p)
 

Static Public Member Functions

static size_t Size ()
 

Public Attributes

char Data [384]
 
uint8_t PathSize
 
uint16_t DataSize
 
uint32_t FragmentIndex
 

Constructor & Destructor Documentation

◆ CInitMessage_MapFileFragment() [1/3]

CInitMessage_MapFileFragment::CInitMessage_MapFileFragment ( )
inline

◆ CInitMessage_MapFileFragment() [2/3]

CInitMessage_MapFileFragment::CInitMessage_MapFileFragment ( const char *  path,
const char *  data,
uint32_t  dataSize,
uint32_t  Fragment 
)

◆ CInitMessage_MapFileFragment() [3/3]

CInitMessage_MapFileFragment::CInitMessage_MapFileFragment ( uint32_t  Fragment)

Member Function Documentation

◆ Deserialize()

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

◆ GetHeader()

const CInitMessage_Header& CInitMessage_MapFileFragment::GetHeader ( ) const
inline

◆ Serialize()

const unsigned char * CInitMessage_MapFileFragment::Serialize ( ) const

◆ Size()

static size_t CInitMessage_MapFileFragment::Size ( )
inlinestatic

Member Data Documentation

◆ Data

char CInitMessage_MapFileFragment::Data[384]

◆ DataSize

uint16_t CInitMessage_MapFileFragment::DataSize

◆ FragmentIndex

uint32_t CInitMessage_MapFileFragment::FragmentIndex

◆ PathSize

uint8_t CInitMessage_MapFileFragment::PathSize

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.