doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idEntityPtr< type > Class Template Reference

#include <Game_local.h>

Public Member Functions

 idEntityPtr ()
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
idEntityPtr< type > & operator= (type *ent)
 
int GetSpawnId (void) const
 
bool SetSpawnId (int id)
 
bool UpdateSpawnId (void)
 
bool IsValid (void) const
 
typeGetEntity (void) const
 
int GetEntityNum (void) const
 

Private Attributes

int spawnId
 

Detailed Description

template<class type>
class idEntityPtr< type >

Definition at line 220 of file Game_local.h.

Constructor & Destructor Documentation

template<class type >
ID_INLINE idEntityPtr< type >::idEntityPtr ( )

Definition at line 651 of file Game_local.h.

Member Function Documentation

template<class type >
ID_INLINE type * idEntityPtr< type >::GetEntity ( void  ) const

Definition at line 695 of file Game_local.h.

template<class type >
ID_INLINE int idEntityPtr< type >::GetEntityNum ( void  ) const

Definition at line 704 of file Game_local.h.

template<class type>
int idEntityPtr< type >::GetSpawnId ( void  ) const
inline

Definition at line 231 of file Game_local.h.

template<class type >
ID_INLINE bool idEntityPtr< type >::IsValid ( void  ) const

Definition at line 690 of file Game_local.h.

template<class type>
ID_INLINE idEntityPtr< type > & idEntityPtr< type >::operator= ( type ent)

Definition at line 666 of file Game_local.h.

template<class type >
ID_INLINE void idEntityPtr< type >::Restore ( idRestoreGame savefile)

Definition at line 661 of file Game_local.h.

template<class type >
ID_INLINE void idEntityPtr< type >::Save ( idSaveGame savefile) const

Definition at line 656 of file Game_local.h.

template<class type >
ID_INLINE bool idEntityPtr< type >::SetSpawnId ( int  id)

Definition at line 676 of file Game_local.h.

template<class type>
bool idEntityPtr< type >::UpdateSpawnId ( void  )

Member Data Documentation

template<class type>
int idEntityPtr< type >::spawnId
private

Definition at line 240 of file Game_local.h.


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