DDraceNetwork Docs
CEditorActionEditSoundSource Class Reference

#include <editor_actions.h>

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

Public Types

enum class  EEditType { SHAPE }
 

Public Member Functions

 CEditorActionEditSoundSource (CEditor *pEditor, int GroupIndex, int LayerIndex, int SourceIndex, EEditType Type, int Value)
 
 ~CEditorActionEditSoundSource () override
 
void Undo () override
 
void Redo () override
 
- Public Member Functions inherited from CEditorActionLayerBase
 CEditorActionLayerBase (CEditor *pEditor, int GroupIndex, int LayerIndex)
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from IEditorAction
 IEditorAction (CEditor *pEditor)
 
 IEditorAction ()=default
 
virtual ~IEditorAction ()=default
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual bool IsEmpty ()
 
const char * DisplayText () const
 

Private Member Functions

void Save ()
 

Private Attributes

int m_SourceIndex
 
EEditType m_EditType
 
int m_CurrentValue
 
std::vector< int > m_vOriginalValues
 
void * m_pSavedObject
 

Additional Inherited Members

- Protected Attributes inherited from CEditorActionLayerBase
int m_GroupIndex
 
int m_LayerIndex
 
std::shared_ptr< CLayerm_pLayer
 
- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Member Enumeration Documentation

◆ EEditType

Enumerator
SHAPE 

Constructor & Destructor Documentation

◆ CEditorActionEditSoundSource()

CEditorActionEditSoundSource::CEditorActionEditSoundSource ( CEditor pEditor,
int  GroupIndex,
int  LayerIndex,
int  SourceIndex,
EEditType  Type,
int  Value 
)

◆ ~CEditorActionEditSoundSource()

CEditorActionEditSoundSource::~CEditorActionEditSoundSource ( )
override

Member Function Documentation

◆ Redo()

void CEditorActionEditSoundSource::Redo ( )
overridevirtual

Reimplemented from CEditorActionLayerBase.

◆ Save()

void CEditorActionEditSoundSource::Save ( )
private

◆ Undo()

void CEditorActionEditSoundSource::Undo ( )
overridevirtual

Reimplemented from CEditorActionLayerBase.

Member Data Documentation

◆ m_CurrentValue

int CEditorActionEditSoundSource::m_CurrentValue
private

◆ m_EditType

EEditType CEditorActionEditSoundSource::m_EditType
private

◆ m_pSavedObject

void* CEditorActionEditSoundSource::m_pSavedObject
private

◆ m_SourceIndex

int CEditorActionEditSoundSource::m_SourceIndex
private

◆ m_vOriginalValues

std::vector<int> CEditorActionEditSoundSource::m_vOriginalValues
private

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