1 #ifndef GAME_MWWORLD_PLAYER_H
2 #define GAME_MWWORLD_PLAYER_H
4 #include "../mwworld/refdata.hpp"
5 #include "../mwworld/livecellref.hpp"
7 #include "../mwmechanics/drawstate.hpp"
8 #include "../mwmechanics/stat.hpp"
bool getAutoMove() const
Definition: player.cpp:131
MWWorld::CellStore * mCellStore
Definition: player.hpp:33
const std::string & getBirthSign() const
Definition: player.cpp:120
void setLeftRight(int value)
Definition: player.cpp:150
bool readRecord(ESM::ESMReader &reader, uint32_t type)
Definition: player.cpp:318
int mPaidCrimeId
Definition: player.hpp:47
bool isInCombat()
Checks all nearby actors to see if anyone has an aipackage against you.
Definition: player.cpp:249
Definition: esmreader.hpp:21
void setTeleported(bool teleported)
Definition: player.cpp:234
NPC object representing the player and additional player data.
Definition: player.hpp:30
CellStore * mMarkedCell
Definition: player.hpp:40
int getCrimeId() const
Definition: player.cpp:429
void pitch(float pitch)
Definition: player.cpp:191
void restoreSkillsAttributes()
Definition: player.cpp:59
Definition: loadskil.hpp:74
std::string mSign
Definition: player.hpp:34
Definition: loadinglistener.hpp:8
MWMechanics::AttributeValue mSaveAttributes[ESM::Attribute::Length]
Definition: player.hpp:51
void setLastKnownExteriorPosition(const osg::Vec3f &position)
Definition: player.hpp:70
void setDrawState(MWMechanics::DrawState_ state)
Definition: player.cpp:125
void yaw(float yaw)
Definition: player.cpp:186
void setBirthSign(const std::string &sign)
Definition: player.cpp:115
MWMechanics::DrawState_ getDrawState()
Definition: player.cpp:202
Definition: esmwriter.hpp:17
void recordCrimeId()
Definition: player.cpp:424
MWMechanics::SkillValue mSaveSkills[ESM::Skill::Length]
Definition: player.hpp:50
void clear()
Definition: player.cpp:271
void setWerewolfSkillsAttributes()
Definition: player.cpp:68
void activate()
Activate the object under the crosshair, if any.
Definition: player.cpp:208
osg::Vec3f getLastKnownExteriorPosition() const
Definition: player.hpp:71
void write(ESM::ESMWriter &writer, Loading::Listener &progress) const
Definition: player.cpp:281
void getMarkedPosition(CellStore *&markedCell, ESM::Position &markedPosition) const
Definition: player.cpp:264
DrawState_
Definition: drawstate.hpp:7
Definition: loadnpc.hpp:23
bool enemiesNearby()
Definition: player.cpp:253
int mCurrentCrimeId
Definition: player.hpp:46
void setRunState(bool run)
Definition: player.cpp:174
bool getAttackingOrSpell() const
Definition: player.cpp:244
bool wasTeleported() const
Definition: player.cpp:229
LiveCellRef< ESM::NPC > mPlayer
Definition: player.hpp:32
Mutable state of a cell.
Definition: cellstore.hpp:53
void saveSkillsAttributes()
Definition: player.cpp:50
void set(const ESM::NPC *player)
Definition: player.cpp:99
void setForwardBackward(int value)
Definition: player.cpp:156
void setAttackingOrSpell(bool attackingOrSpell)
Definition: player.cpp:239
bool mAutoMove
Definition: player.hpp:42
int mForwardBackward
Definition: player.hpp:43
void setAutoMove(bool enable)
Definition: player.cpp:136
MWWorld::Ptr getPlayer()
Definition: player.cpp:109
void setSneak(bool sneak)
Definition: player.cpp:180
void setUpDown(int value)
Definition: player.cpp:168
Player(const ESM::NPC *player)
Definition: player.cpp:29
void roll(float roll)
Definition: player.cpp:196
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
int getNewCrimeId()
Definition: player.cpp:419
bool mTeleported
Definition: player.hpp:44
void enable(CodeContainer &code, Literals &literals, const std::string &id)
Definition: generator.cpp:870
bool mAttackingOrSpell
Definition: player.hpp:53
osg::Vec3f mLastKnownExteriorPosition
Definition: player.hpp:36
ESM::Position mMarkedPosition
Definition: player.hpp:38
void markPosition(CellStore *markedCell, ESM::Position markedPosition)
Definition: player.cpp:258
void setCell(MWWorld::CellStore *cellStore)
Definition: player.cpp:104