OpenMW
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
player.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_ESM_PLAYER_H
2 #define OPENMW_ESM_PLAYER_H
3 
4 #include <string>
5 
6 #include "npcstate.hpp"
7 #include "cellid.hpp"
8 #include "defs.hpp"
9 
10 #include "loadskil.hpp"
11 #include "attr.hpp"
12 
13 namespace ESM
14 {
15  class ESMReader;
16  class ESMWriter;
17 
18  // format 0, saved games only
19 
20  struct Player
21  {
25  unsigned char mHasMark;
28  unsigned char mAutoMove;
29  std::string mBirthsign;
30 
33 
36 
37  void load (ESMReader &esm);
38  void save (ESMWriter &esm) const;
39  };
40 }
41 
42 #endif
std::string mBirthsign
Definition: player.hpp:29
Definition: esmreader.hpp:21
int mPaidCrimeId
Definition: player.hpp:32
CellId mCellId
Definition: player.hpp:23
StatState< int > mSaveAttributes[ESM::Attribute::Length]
Definition: player.hpp:34
Definition: loadskil.hpp:74
NpcState mObject
Definition: player.hpp:22
void save(ESMWriter &esm) const
Definition: player.cpp:43
Definition: esmwriter.hpp:17
CellId mMarkedCell
Definition: player.hpp:27
float mLastKnownExteriorPosition[3]
Definition: player.hpp:24
unsigned char mHasMark
Definition: player.hpp:25
int mCurrentCrimeId
Definition: player.hpp:31
void load(ESMReader &esm)
Definition: player.cpp:6
unsigned char mAutoMove
Definition: player.hpp:28
Definition: defs.hpp:38
StatState< int > mSaveSkills[ESM::Skill::Length]
Definition: player.hpp:35
Definition: npcstate.hpp:13
Definition: player.hpp:20
Definition: attr.hpp:24
ESM::Position mMarkedPosition
Definition: player.hpp:26
Definition: cellid.hpp:11