DDraceNetwork Docs
IDemoPlayer Class Referenceabstract

#include <demo.h>

Inheritance diagram for IDemoPlayer:
[legend]
Collaboration diagram for IDemoPlayer:
[legend]

Classes

class  CInfo
 

Public Types

enum  ETickOffset { TICK_CURRENT , TICK_PREVIOUS , TICK_NEXT }
 

Public Member Functions

virtual ~IDemoPlayer ()
 
virtual void SetSpeed (float Speed)=0
 
virtual void SetSpeedIndex (int SpeedIndex)=0
 
virtual void AdjustSpeedIndex (int Offset)=0
 
virtual int SeekPercent (float Percent)=0
 
virtual int SeekTime (float Seconds)=0
 
virtual int SeekTick (ETickOffset TickOffset)=0
 
virtual int SetPos (int WantedTick)=0
 
virtual void Pause ()=0
 
virtual void Unpause ()=0
 
virtual const char * ErrorMessage () const =0
 
virtual bool IsPlaying () const =0
 
virtual const CInfoBaseInfo () const =0
 
virtual void GetDemoName (char *pBuffer, size_t BufferSize) const =0
 
virtual bool GetDemoInfo (class IStorage *pStorage, class IConsole *pConsole, const char *pFilename, int StorageType, CDemoHeader *pDemoHeader, CTimelineMarkers *pTimelineMarkers, CMapInfo *pMapInfo, IOHANDLE *pFile=nullptr, char *pErrorMessage=nullptr, size_t ErrorMessageSize=0) const =0
 
- Public Member Functions inherited from IInterface
 IInterface ()
 
virtual void Shutdown ()
 
virtual ~IInterface ()
 

Static Public Member Functions

static const char * InterfaceName ()
 

Additional Inherited Members

- Protected Member Functions inherited from IInterface
IKernelKernel ()
 

Member Enumeration Documentation

◆ ETickOffset

Enumerator
TICK_CURRENT 
TICK_PREVIOUS 
TICK_NEXT 

Constructor & Destructor Documentation

◆ ~IDemoPlayer()

virtual IDemoPlayer::~IDemoPlayer ( )
inlinevirtual

Member Function Documentation

◆ AdjustSpeedIndex()

virtual void IDemoPlayer::AdjustSpeedIndex ( int  Offset)
pure virtual

Implemented in CDemoPlayer.

◆ BaseInfo()

virtual const CInfo * IDemoPlayer::BaseInfo ( ) const
pure virtual

Implemented in CDemoPlayer.

◆ ErrorMessage()

virtual const char * IDemoPlayer::ErrorMessage ( ) const
pure virtual

Implemented in CDemoPlayer.

◆ GetDemoInfo()

virtual bool IDemoPlayer::GetDemoInfo ( class IStorage pStorage,
class IConsole pConsole,
const char *  pFilename,
int  StorageType,
CDemoHeader pDemoHeader,
CTimelineMarkers pTimelineMarkers,
CMapInfo pMapInfo,
IOHANDLE pFile = nullptr,
char *  pErrorMessage = nullptr,
size_t  ErrorMessageSize = 0 
) const
pure virtual

Implemented in CDemoPlayer.

◆ GetDemoName()

virtual void IDemoPlayer::GetDemoName ( char *  pBuffer,
size_t  BufferSize 
) const
pure virtual

Implemented in CDemoPlayer.

◆ InterfaceName()

static const char * IDemoPlayer::InterfaceName ( )
inlinestatic

◆ IsPlaying()

virtual bool IDemoPlayer::IsPlaying ( ) const
pure virtual

Implemented in CDemoPlayer.

◆ Pause()

virtual void IDemoPlayer::Pause ( )
pure virtual

Implemented in CDemoPlayer.

◆ SeekPercent()

virtual int IDemoPlayer::SeekPercent ( float  Percent)
pure virtual

Implemented in CDemoPlayer.

◆ SeekTick()

virtual int IDemoPlayer::SeekTick ( ETickOffset  TickOffset)
pure virtual

Implemented in CDemoPlayer.

◆ SeekTime()

virtual int IDemoPlayer::SeekTime ( float  Seconds)
pure virtual

Implemented in CDemoPlayer.

◆ SetPos()

virtual int IDemoPlayer::SetPos ( int  WantedTick)
pure virtual

Implemented in CDemoPlayer.

◆ SetSpeed()

virtual void IDemoPlayer::SetSpeed ( float  Speed)
pure virtual

Implemented in CDemoPlayer.

◆ SetSpeedIndex()

virtual void IDemoPlayer::SetSpeedIndex ( int  SpeedIndex)
pure virtual

Implemented in CDemoPlayer.

◆ Unpause()

virtual void IDemoPlayer::Unpause ( )
pure virtual

Implemented in CDemoPlayer.


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