Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions | Public Attributes
SraNetwork::LoginReplyPacket Class Reference

#include <LoginReplyPacket.h>

Inheritance diagram for SraNetwork::LoginReplyPacket:

List of all members.

Public Member Functions

virtual void Deserialize (RakNet::BitStream *source)
 De-serializes the package.
 LoginReplyPacket (void)
virtual void Serialize (RakNet::BitStream *target)
 Serializes the package.
 ~LoginReplyPacket (void)

Public Attributes

int clientID

Detailed Description

Definition at line 29 of file LoginReplyPacket.h.


Constructor & Destructor Documentation

SraNetwork::LoginReplyPacket::LoginReplyPacket ( void  )
SraNetwork::LoginReplyPacket::~LoginReplyPacket ( void  )

Definition at line 11 of file LoginReplyPacket.cpp.

    {
    }

Member Function Documentation

void SraNetwork::LoginReplyPacket::Deserialize ( RakNet::BitStream source) [virtual]

Reimplemented from SraNetwork::SraPacket.

Definition at line 27 of file LoginReplyPacket.cpp.

References clientID, and RakNet::BitStream::Read().

    {
        source->Read<int>(clientID);
    }
void SraNetwork::LoginReplyPacket::Serialize ( RakNet::BitStream target) [virtual]

Reimplemented from SraNetwork::SraPacket.

Definition at line 18 of file LoginReplyPacket.cpp.

References clientID, and RakNet::BitStream::Write().

Referenced by SraNetwork::ClientLoginMessage::process().

    {
        SraPacket::Serialize(target);
        target->Write<int>(clientID);
    }

Member Data Documentation


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

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net