|
| NpcStats () |
|
int | getBaseDisposition () const |
|
void | setBaseDisposition (int disposition) |
|
int | getReputation () const |
|
void | setReputation (int reputation) |
|
int | getCrimeId () const |
|
void | setCrimeId (int id) |
|
const SkillValue & | getSkill (int index) const |
|
SkillValue & | getSkill (int index) |
|
void | setSkill (int index, const SkillValue &value) |
|
const std::map< std::string,
int > & | getFactionRanks () const |
|
void | raiseRank (const std::string &faction) |
| Increase the rank in this faction by 1, if such a rank exists. More...
|
|
void | lowerRank (const std::string &faction) |
| Lower the rank in this faction by 1, if such a rank exists. More...
|
|
void | joinFaction (const std::string &faction) |
| Join this faction, setting the initial rank to 0. More...
|
|
const std::set< std::string > & | getExpelled () const |
|
bool | getExpelled (const std::string &factionID) const |
|
void | expell (const std::string &factionID) |
|
void | clearExpelled (const std::string &factionID) |
|
bool | isInFaction (const std::string &faction) const |
|
float | getSkillProgressRequirement (int skillIndex, const ESM::Class &class_) const |
|
void | useSkill (int skillIndex, const ESM::Class &class_, int usageType=-1, float extraFactor=1.f) |
| Increase skill by usage. More...
|
|
void | increaseSkill (int skillIndex, const ESM::Class &class_, bool preserveProgress) |
|
int | getLevelProgress () const |
|
int | getLevelupAttributeMultiplier (int attribute) const |
|
int | getSkillIncreasesForSpecialization (int spec) const |
|
void | levelUp () |
|
void | updateHealth () |
|
void | flagAsUsed (const std::string &id) |
|
bool | hasBeenUsed (const std::string &id) const |
|
int | getBounty () const |
|
void | setBounty (int bounty) |
|
int | getFactionReputation (const std::string &faction) const |
|
void | setFactionReputation (const std::string &faction, int value) |
|
bool | hasSkillsForRank (const std::string &factionId, int rank) const |
|
bool | isWerewolf () const |
|
void | setWerewolf (bool set) |
|
int | getWerewolfKills () const |
|
void | addWerewolfKill () |
| Increments mWerewolfKills by 1. More...
|
|
float | getTimeToStartDrowning () const |
|
void | setTimeToStartDrowning (float time) |
|
void | writeState (ESM::NpcStats &state) const |
|
void | readState (const ESM::NpcStats &state) |
|
| CreatureStats () |
|
DrawState_ | getDrawState () const |
|
void | setDrawState (DrawState_ state) |
|
bool | needToRecalcDynamicStats () |
|
void | setNeedRecalcDynamicStats (bool val) |
|
void | addToFallHeight (float height) |
|
float | land () |
|
const AttributeValue & | getAttribute (int index) const |
|
const DynamicStat< float > & | getHealth () const |
|
const DynamicStat< float > & | getMagicka () const |
|
const DynamicStat< float > & | getFatigue () const |
|
const DynamicStat< float > & | getDynamic (int index) const |
|
const Spells & | getSpells () const |
|
const ActiveSpells & | getActiveSpells () const |
|
const MagicEffects & | getMagicEffects () const |
|
bool | getAttackingOrSpell () const |
|
int | getLevel () const |
|
Spells & | getSpells () |
|
ActiveSpells & | getActiveSpells () |
|
MagicEffects & | getMagicEffects () |
|
void | setAttribute (int index, const AttributeValue &value) |
|
void | setAttribute (int index, int base) |
|
void | setHealth (const DynamicStat< float > &value) |
|
void | setMagicka (const DynamicStat< float > &value) |
|
void | setFatigue (const DynamicStat< float > &value) |
|
void | setDynamic (int index, const DynamicStat< float > &value) |
|
void | modifyMagicEffects (const MagicEffects &effects) |
| Set Modifier for each magic effect according to effects. Does not touch Base values. More...
|
|
void | setAttackingOrSpell (bool attackingOrSpell) |
|
void | setLevel (int level) |
|
void | setAiSetting (AiSetting index, Stat< int > value) |
|
void | setAiSetting (AiSetting index, int base) |
|
Stat< int > | getAiSetting (AiSetting index) const |
|
const AiSequence & | getAiSequence () const |
|
AiSequence & | getAiSequence () |
|
float | getFatigueTerm () const |
| Return effective fatigue. More...
|
|
bool | isParalyzed () const |
|
bool | isDead () const |
|
bool | isDeathAnimationFinished () const |
|
void | setDeathAnimationFinished (bool finished) |
|
void | notifyDied () |
|
bool | hasDied () const |
|
void | clearHasDied () |
|
bool | hasBeenMurdered () const |
|
void | clearHasBeenMurdered () |
|
void | notifyMurder () |
|
void | resurrect () |
|
bool | hasCommonDisease () const |
|
bool | hasBlightDisease () const |
|
int | getFriendlyHits () const |
| Number of friendly hits received. More...
|
|
void | friendlyHit () |
| Increase number of friendly hits by one. More...
|
|
bool | hasTalkedToPlayer () const |
| Has this creature talked with the player before? More...
|
|
void | talkedToPlayer () |
|
bool | isAlarmed () const |
|
void | setAlarmed (bool alarmed) |
|
bool | getAttacked () const |
|
void | setAttacked (bool attacked) |
|
float | getEvasion () const |
|
void | setKnockedDown (bool value) |
|
bool | getKnockedDown () const |
|
void | setKnockedDownOneFrame (bool value) |
|
bool | getKnockedDownOneFrame () const |
| Returns true only for the first frame of the actor being knocked out; used for "onKnockedOut" command. More...
|
|
void | setKnockedDownOverOneFrame (bool value) |
|
bool | getKnockedDownOverOneFrame () const |
| Returns true for all but the first frame of being knocked out; used to know to not reset mKnockedDownOneFrame. More...
|
|
void | setHitRecovery (bool value) |
|
bool | getHitRecovery () const |
|
void | setBlock (bool value) |
|
bool | getBlock () const |
|
std::map< SummonKey, int > & | getSummonedCreatureMap () |
|
std::vector< int > & | getSummonedCreatureGraveyard () |
|
bool | getMovementFlag (Flag flag) const |
|
void | setMovementFlag (Flag flag, bool state) |
|
bool | getStance (Stance flag) const |
| Like getMovementFlag, but also takes into account if the flag is Forced. More...
|
|
void | setLastHitObject (const std::string &objectid) |
|
void | setLastHitAttemptObject (const std::string &objectid) |
|
const std::string & | getLastHitObject () const |
|
const std::string & | getLastHitAttemptObject () const |
|
void | writeState (ESM::CreatureStats &state) const |
|
void | readState (const ESM::CreatureStats &state) |
|
void | setLastRestockTime (MWWorld::TimeStamp tradeTime) |
|
MWWorld::TimeStamp | getLastRestockTime () const |
|
void | setGoldPool (int pool) |
|
int | getGoldPool () const |
|
signed char | getDeathAnimation () const |
|
void | setDeathAnimation (signed char index) |
|
MWWorld::TimeStamp | getTimeOfDeath () const |
|
int | getActorId () |
| Will generate an actor ID, if the actor does not have one yet. More...
|
|
bool | matchesActorId (int id) const |
|
Additional stats for NPCs.