#include <ghost.h>
◆ anonymous enum
Enumerator |
---|
MAX_ACTIVE_GHOSTS | |
◆ AddInfos()
◆ CheckStart()
void CGhost::CheckStart |
( |
| ) |
|
|
private |
◆ CheckStartLocal()
void CGhost::CheckStartLocal |
( |
bool |
Predicted | ) |
|
|
private |
◆ ConGPlay()
◆ FreeSlots()
int CGhost::FreeSlots |
( |
| ) |
const |
◆ GetGhostCharacter()
◆ GetGhostDir()
const char * CGhost::GetGhostDir |
( |
| ) |
const |
|
inline |
◆ GetGhostSkin()
void CGhost::GetGhostSkin |
( |
CGhostSkin * |
pSkin, |
|
|
const char * |
pSkinName, |
|
|
int |
UseCustomColor, |
|
|
int |
ColorBody, |
|
|
int |
ColorFeet |
|
) |
| |
|
staticprivate |
◆ GetNetObjCharacter()
◆ GetPath()
void CGhost::GetPath |
( |
char * |
pBuf, |
|
|
int |
Size, |
|
|
const char * |
pPlayerName, |
|
|
int |
Time = -1 |
|
) |
| const |
|
private |
◆ GetSlot()
int CGhost::GetSlot |
( |
| ) |
const |
|
private |
◆ GhostLoader()
◆ GhostRecorder()
◆ InitRenderInfos()
void CGhost::InitRenderInfos |
( |
CGhostItem * |
pGhost | ) |
|
|
private |
◆ Load()
int CGhost::Load |
( |
const char * |
pFilename | ) |
|
◆ OnConsoleInit()
void CGhost::OnConsoleInit |
( |
| ) |
|
|
overridevirtual |
Called to let the components register their console commands.
Reimplemented from CComponent.
◆ OnMapLoad()
void CGhost::OnMapLoad |
( |
| ) |
|
|
overridevirtual |
Called on map load.
Reimplemented from CComponent.
◆ OnMessage()
void CGhost::OnMessage |
( |
int |
Msg, |
|
|
void * |
pRawMsg |
|
) |
| |
|
overridevirtual |
◆ OnNewPredictedSnapshot()
void CGhost::OnNewPredictedSnapshot |
( |
| ) |
|
◆ OnNewSnapshot()
void CGhost::OnNewSnapshot |
( |
| ) |
|
|
overridevirtual |
Called when a new snapshot is received.
Reimplemented from CComponent.
◆ OnRefreshSkins()
void CGhost::OnRefreshSkins |
( |
| ) |
|
|
overridevirtual |
Called when skins have been invalidated and must be updated.
Reimplemented from CComponent.
◆ OnRender()
void CGhost::OnRender |
( |
| ) |
|
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
◆ OnReset()
Called to reset the component. This method is usually called on your component constructor to avoid code duplication.
- See also
- CHud::CHud()
-
CHud::OnReset()
Reimplemented from CComponent.
◆ OnShutdown()
void CGhost::OnShutdown |
( |
| ) |
|
|
overridevirtual |
Called to cleanup the component. This method is called when the client is closed.
Reimplemented from CComponent.
◆ SaveGhost()
◆ Sizeof()
virtual int CGhost::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ StartRecord()
void CGhost::StartRecord |
( |
int |
Tick | ) |
|
|
private |
◆ StartRender()
void CGhost::StartRender |
( |
int |
Tick | ) |
|
|
private |
◆ StopRecord()
void CGhost::StopRecord |
( |
int |
Time = -1 | ) |
|
|
private |
◆ StopRender()
void CGhost::StopRender |
( |
| ) |
|
|
private |
◆ TryRenderStart()
void CGhost::TryRenderStart |
( |
int |
Tick, |
|
|
bool |
ServerControl |
|
) |
| |
|
private |
◆ Unload()
void CGhost::Unload |
( |
int |
Slot | ) |
|
◆ UnloadAll()
void CGhost::UnloadAll |
( |
| ) |
|
◆ m_aActiveGhosts
◆ m_AllowRestart
bool CGhost::m_AllowRestart |
◆ m_aTmpFilename
◆ m_CurGhost
◆ m_LastDeathTick
int CGhost::m_LastDeathTick = -1 |
|
private |
◆ m_NewRenderTick
int CGhost::m_NewRenderTick = -1 |
|
private |
◆ m_pGhostLoader
◆ m_pGhostRecorder
◆ m_Recording
bool CGhost::m_Recording = false |
|
private |
◆ m_Rendering
bool CGhost::m_Rendering = false |
|
private |
◆ m_RenderingStartedByServer
bool CGhost::m_RenderingStartedByServer = false |
|
private |
◆ m_StartRenderTick
int CGhost::m_StartRenderTick = -1 |
|
private |
◆ ms_pGhostDir
const char * CGhost::ms_pGhostDir = "ghosts" |
|
staticprivate |
The documentation for this class was generated from the following files: