RakNet::NetworkIDManager Class Reference

#include <NetworkIDManager.h>

List of all members.

Public Member Functions

template<class returnType >
returnType GET_OBJECT_FROM_ID (NetworkID x)


Detailed Description

This class is simply used to generate a unique number for a group of instances of NetworkIDObject An instance of this class is required to use the ObjectID to pointer lookup system You should have one instance of this class per game instance. Call SetIsNetworkIDAuthority before using any functions of this class, or of NetworkIDObject

Member Function Documentation

template<class returnType >
returnType RakNet::NetworkIDManager::GET_OBJECT_FROM_ID ( NetworkID  x  )  [inline]

Returns the parent object, or this instance if you don't use a parent. Supports NetworkIDObject anywhere in the inheritance hierarchy

Precondition:
You must first call SetNetworkIDManager before using this function


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

Generated on Wed Feb 1 13:33:47 2012 for RakNet by  doxygen 1.5.7.1