ComponentFieldChangeCommand class

Base classes

class UndoCommand

Constructors, destructors, conversion operators

ComponentFieldChangeCommand(Archetype* arch, Chunk* chunk, uint16_t localIndex, const char* fieldName, Registry* reg, const void* oldValue, FieldValueType type, size_t fieldSize)

Public functions

void SetNewValue(const void* newValue)
void Execute() override
void Undo() override
auto MergeWith(const UndoCommand& other) -> bool override