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

#include <LeaveChannelPacket.h>

Inheritance diagram for SraNetwork::LeaveChannelPacket:

List of all members.

Public Member Functions

virtual void Deserialize (RakNet::BitStream *source)
 De-serializes the package and reading the opcode. DO NOT call this from the derived classes.
 LeaveChannelPacket (void)
virtual void Serialize (RakNet::BitStream *target)
 Serializes the package. BE SURE to call this from the derived classes.
 ~LeaveChannelPacket (void)

Public Attributes

int channelId

Detailed Description

Definition at line 31 of file LeaveChannelPacket.h.


Constructor & Destructor Documentation

SraNetwork::LeaveChannelPacket::LeaveChannelPacket ( void  )
SraNetwork::LeaveChannelPacket::~LeaveChannelPacket ( void  )

Definition at line 11 of file LeaveChannelPacket.cpp.

    {
    }

Member Function Documentation

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

Reimplemented from SraNetwork::SraPacket.

Definition at line 21 of file LeaveChannelPacket.cpp.

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

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

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

Reimplemented from SraNetwork::SraPacket.

Definition at line 15 of file LeaveChannelPacket.cpp.

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

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

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