Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions | Static Public Member Functions | Public Attributes
RakNet::RakNetGUID Struct Reference

#include <RakNetTypes.h>

List of all members.

Public Member Functions

bool FromString (const char *source)
bool operator!= (const RakNetGUID &right) const
bool operator< (const RakNetGUID &right) const
RakNetGUIDoperator= (const RakNetGUID &input)
bool operator== (const RakNetGUID &right) const
bool operator> (const RakNetGUID &right) const
 RakNetGUID (uint64_t _g)
 RakNetGUID ()
void ToString (char *dest) const
const char * ToString (void) const

Static Public Member Functions

static int size ()
static unsigned long ToUint32 (const RakNetGUID &g)

Public Attributes

uint64_t g
SystemIndex systemIndex

Detailed Description

Uniquely identifies an instance of RakPeer. Use RakPeer::GetGuidFromSystemAddress() and RakPeer::GetSystemAddressFromGuid() to go between SystemAddress and RakNetGUID Use RakPeer::GetGuidFromSystemAddress(UNASSIGNED_SYSTEM_ADDRESS) to get your own GUID

Definition at line 294 of file RakNetTypes.h.


Constructor & Destructor Documentation

RakNet::RakNetGUID::RakNetGUID ( )
RakNet::RakNetGUID::RakNetGUID ( uint64_t  _g) [inline, explicit]

Definition at line 297 of file RakNetTypes.h.

References g.


Member Function Documentation

bool RakNet::RakNetGUID::FromString ( const char *  source)
bool RakNet::RakNetGUID::operator!= ( const RakNetGUID right) const
bool RakNet::RakNetGUID::operator< ( const RakNetGUID right) const
RakNetGUID& RakNet::RakNetGUID::operator= ( const RakNetGUID input) [inline]

Definition at line 315 of file RakNetTypes.h.

References g, g, and systemIndex.

    {
        g=input.g;
        systemIndex=input.systemIndex;
        return *this;
    }
bool RakNet::RakNetGUID::operator== ( const RakNetGUID right) const
bool RakNet::RakNetGUID::operator> ( const RakNetGUID right) const
static int RakNet::RakNetGUID::size ( void  ) [inline, static]

Definition at line 324 of file RakNetTypes.h.

{return (int) sizeof(uint64_t);}
const char* RakNet::RakNetGUID::ToString ( void  ) const
void RakNet::RakNetGUID::ToString ( char *  dest) const
static unsigned long RakNet::RakNetGUID::ToUint32 ( const RakNetGUID g) [static]

Member Data Documentation

Definition at line 299 of file RakNetTypes.h.

Referenced by operator=(), RakNet::BitStream::Read(), and RakNet::BitStream::Write().

Definition at line 323 of file RakNetTypes.h.

Referenced by operator=().


The documentation for this struct was generated from the following file:

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