RemoveAnimatedMapCommand is used to remove animated maps.
More...
#include <RemoveAnimatedMapCommand.h>
RemoveAnimatedMapCommand is used to remove animated maps.
◆ RemoveAnimatedMapCommand() [1/5]
dnac::RemoveAnimatedMapCommand::RemoveAnimatedMapCommand |
( |
MemoryResource * |
memRes = nullptr | ) |
|
|
explicit |
40 :
pImpl{makeScoped<Impl>(memRes)} {
41}
ScopedPtr< Impl > pImpl
Definition: RemoveAnimatedMapCommand.h:50
◆ RemoveAnimatedMapCommand() [2/5]
dnac::RemoveAnimatedMapCommand::RemoveAnimatedMapCommand |
( |
std::uint16_t |
animatedMapIndex, |
|
|
MemoryResource * |
memRes = nullptr |
|
) |
| |
43 :
44 pImpl{makeScoped<Impl>(memRes)} {
45
46 pImpl->setAnimatedMapIndex(animatedMapIndex);
47}
References pImpl.
◆ RemoveAnimatedMapCommand() [3/5]
dnac::RemoveAnimatedMapCommand::RemoveAnimatedMapCommand |
( |
ConstArrayView< std::uint16_t > |
animatedMapIndices, |
|
|
MemoryResource * |
memRes = nullptr |
|
) |
| |
49 :
50 pImpl{makeScoped<Impl>(memRes)} {
51
52 pImpl->setAnimatedMapIndices(animatedMapIndices);
53}
References pImpl.
◆ ~RemoveAnimatedMapCommand()
dnac::RemoveAnimatedMapCommand::~RemoveAnimatedMapCommand |
( |
| ) |
|
|
default |
◆ RemoveAnimatedMapCommand() [4/5]
◆ RemoveAnimatedMapCommand() [5/5]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ run()
◆ setAnimatedMapIndex()
void dnac::RemoveAnimatedMapCommand::setAnimatedMapIndex |
( |
std::uint16_t |
animatedMapIndex | ) |
|
Method for setting the index of the animated map to remove.
- Parameters
-
animatedMapIndex | The index of the animated map. |
- Note
- Call to either setter overwrites previous setter calls. When running the command, the last set animated map(s) will be removed.
59 {
60 pImpl->setAnimatedMapIndex(animatedMapIndex);
61}
References pImpl.
◆ setAnimatedMapIndices()
void dnac::RemoveAnimatedMapCommand::setAnimatedMapIndices |
( |
ConstArrayView< std::uint16_t > |
animatedMapIndices | ) |
|
Method for setting the indices of animated maps to remove.
- Parameters
-
animatedMapIndices | The animated map indices. |
- Note
- Call to either setter overwrites previous setter calls. When running the command, the last set animated map(s) will be removed.
63 {
64 pImpl->setAnimatedMapIndices(animatedMapIndices);
65}
References pImpl.
◆ pImpl
The documentation for this class was generated from the following files: