Polyphase Game Engine
Loading...
Searching...
No Matches
ActionEditProperty Class Reference

#include <ActionManager.h>

Inheritance diagram for ActionEditProperty:
Action

Public Member Functions

 ActionEditProperty (void *owner, PropertyOwnerType ownerType, const std::string &propName, uint32_t index, Datum value)
 
- Public Member Functions inherited from Action
virtual ~Action ()
 
virtual void Execute ()
 
virtual void Reverse ()
 
virtual const char * GetName ()=0
 

Protected Member Functions

void GatherProps (std::vector< Property > &props)
 
PropertyFindProp (std::vector< Property > &props, const std::string &name)
 

Protected Attributes

void * mOwner = nullptr
 
PropertyOwnerType mOwnerType = PropertyOwnerType::Count
 
std::string mPropertyName
 
uint32_t mIndex = 0
 
Datum mValue
 
AssetRef mReferencedAsset
 
Datum mPreviousValue
 

Constructor & Destructor Documentation

◆ ActionEditProperty()

ActionEditProperty::ActionEditProperty ( void *  owner,
PropertyOwnerType  ownerType,
const std::string &  propName,
uint32_t  index,
Datum  value 
)

Member Function Documentation

◆ FindProp()

Property * ActionEditProperty::FindProp ( std::vector< Property > &  props,
const std::string &  name 
)
protected

◆ GatherProps()

void ActionEditProperty::GatherProps ( std::vector< Property > &  props)
protected

Member Data Documentation

◆ mIndex

uint32_t ActionEditProperty::mIndex = 0
protected

◆ mOwner

void* ActionEditProperty::mOwner = nullptr
protected

◆ mOwnerType

PropertyOwnerType ActionEditProperty::mOwnerType = PropertyOwnerType::Count
protected

◆ mPreviousValue

Datum ActionEditProperty::mPreviousValue
protected

◆ mPropertyName

std::string ActionEditProperty::mPropertyName
protected

◆ mReferencedAsset

AssetRef ActionEditProperty::mReferencedAsset
protected

◆ mValue

Datum ActionEditProperty::mValue
protected

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