dao::CCPlaceable
class
Derives from dao::CCObject.
A placeable: a door, chest, lever or other usable thing in the world.
Each getter returns the same value as the script command of the same name (GetPlaceable…).
Declared in dao/Objects.h.
Functions
Action()
std::uint16_t Action() const
Returns the placeable’s action.
AutoRemoveKey()
std::int32_t AutoRemoveKey() const
Returns nonzero if the key is removed from the inventory when used.
BaseType()
std::uint8_t BaseType() const
Returns the placeable’s base type.
KeyRequired()
std::int32_t KeyRequired() const
Returns nonzero if a key is required to open the placeable.
PickLockLevel()
std::int32_t PickLockLevel() const
Returns the lock’s pick-lock level.
State()
std::uint16_t State() const
Returns the placeable’s state.
TreasureCategory()
std::int32_t TreasureCategory() const
Returns the placeable’s treasure category.
TreasureRank()
std::int32_t TreasureRank() const
Returns the placeable’s treasure rank.