OpenMW
|
This command brings a land record into the current plugin, adding LandTexture records and modifying texture indices as needed. More...
#include <commands.hpp>
Public Member Functions | |
TouchLandCommand (IdTable &landTable, IdTable <exTable, const std::string &id, QUndoCommand *parent=nullptr) | |
![]() | |
ImportLandTexturesCommand (IdTable &landTable, IdTable <exTable, QUndoCommand *parent) | |
void | redo () override |
void | undo () override |
Private Member Functions | |
const std::string & | getOriginId () const override |
const std::string & | getDestinationId () const override |
void | onRedo () override |
void | onUndo () override |
Private Attributes | |
std::string | mId |
std::unique_ptr< RecordBase > | mOld |
bool | mChanged |
Additional Inherited Members | |
![]() | |
using | DataType = LandTexturesColumn::DataType |
![]() | |
IdTable & | mLands |
IdTable & | mLtexs |
DataType | mOld |
int | mOldState |
std::vector< std::string > | mCreatedTextures |
This command brings a land record into the current plugin, adding LandTexture records and modifying texture indices as needed.
CSMWorld::TouchLandCommand::TouchLandCommand | ( | IdTable & | landTable, |
IdTable & | ltexTable, | ||
const std::string & | id, | ||
QUndoCommand * | parent = nullptr |
||
) |
|
overrideprivatevirtual |
Implements CSMWorld::ImportLandTexturesCommand.
|
overrideprivatevirtual |
Implements CSMWorld::ImportLandTexturesCommand.
|
overrideprivatevirtual |
Implements CSMWorld::ImportLandTexturesCommand.
|
overrideprivatevirtual |
Implements CSMWorld::ImportLandTexturesCommand.
|
private |
|
private |
|
private |