|
OpenMW
|
#include <actoradapter.hpp>
Public Member Functions | |
| const std::string & | getId () const |
| Retrieves the id of the actor represented. More... | |
| bool | isCreature () const |
| Checks if the actor is a creature. More... | |
| bool | isFemale () const |
| Checks if the actor is female. More... | |
| std::string | getSkeleton () const |
| Returns the skeleton the actor should use for attaching parts to. More... | |
| const std::string | getPart (ESM::PartReferenceType index) const |
| Retrieves the associated actor part. More... | |
| bool | hasDependency (const std::string &id) const |
| Checks if the actor has a data dependency. More... | |
| void | setPart (ESM::PartReferenceType partIndex, const std::string &partId, int priority) |
| Sets the actor part used and marks a dependency. More... | |
| void | addOtherDependency (const std::string &id) |
| Marks an additional dependency for the actor. More... | |
| void | reset_data (const std::string &actorId, const std::string &skeleton="", bool isCreature=false, bool female=true, RaceDataPtr raceData=nullptr) |
| Clears race, parts, and dependencies. More... | |
Private Attributes | |
| std::string | mId |
| bool | mCreature |
| bool | mFemale |
| std::string | mSkeletonOverride |
| RaceDataPtr | mRaceData |
| ActorPartList | mParts |
| StringSet | mDependencies |
Contains all the data needed to render an actor. Tracks dependencies so that pertinent data changes can be checked.
| void CSMWorld::ActorAdapter::ActorData::addOtherDependency | ( | const std::string & | id | ) |
Marks an additional dependency for the actor.
| const std::string & CSMWorld::ActorAdapter::ActorData::getId | ( | ) | const |
Retrieves the id of the actor represented.
| const std::string CSMWorld::ActorAdapter::ActorData::getPart | ( | ESM::PartReferenceType | index | ) | const |
Retrieves the associated actor part.
| std::string CSMWorld::ActorAdapter::ActorData::getSkeleton | ( | ) | const |
Returns the skeleton the actor should use for attaching parts to.
| bool CSMWorld::ActorAdapter::ActorData::hasDependency | ( | const std::string & | id | ) | const |
Checks if the actor has a data dependency.
| bool CSMWorld::ActorAdapter::ActorData::isCreature | ( | ) | const |
Checks if the actor is a creature.
| bool CSMWorld::ActorAdapter::ActorData::isFemale | ( | ) | const |
Checks if the actor is female.
| void CSMWorld::ActorAdapter::ActorData::reset_data | ( | const std::string & | actorId, |
| const std::string & | skeleton = "", |
||
| bool | isCreature = false, |
||
| bool | female = true, |
||
| RaceDataPtr | raceData = nullptr |
||
| ) |
Clears race, parts, and dependencies.
| void CSMWorld::ActorAdapter::ActorData::setPart | ( | ESM::PartReferenceType | partIndex, |
| const std::string & | partId, | ||
| int | priority | ||
| ) |
Sets the actor part used and marks a dependency.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.6