3 #include "engine/typedefs.h"
15 class StorageContainer;
150 struct Implementation;
151 std::unique_ptr<Implementation> m_impl;
void setBool(std::string key, bool value)
Binds a string to a bool.
Definition: player_data.cpp:92
void setActiveCreature(EntityId creatureId, GameState &gamestate)
setter for the players active creature
Definition: player_data.cpp:71
const std::string & playerName()
Getter for the players name.
Definition: player_data.cpp:56
static luabind::scope luaBindings()
Lua bindings.
Definition: player_data.cpp:33
Object that contains a set of locked concepts represented and accessed by strings.
Definition: locked_map.h:23
EntityId activeCreature()
Getter for the id of the players currently active creature entity.
Definition: player_data.cpp:66
PlayerData(std::string name)
constructor
Definition: player_data.cpp:47
StorageContainer storage() const
Called by the engine during savegame creation.
Definition: player_data.cpp:121
Definition: player_data.h:18
Definition: bullet_to_ogre_system.h:5
Definition: bullet_ogre_conversion.h:6
void load(const StorageContainer &storage)
Called by the engine during loading of a savegame.
Definition: player_data.cpp:105
~PlayerData()
destructor
Definition: player_data.cpp:53
GameState & activeCreatureGamestate()
Getter for the players currently active creatures gamestate.
Definition: player_data.cpp:80
Represents a distinct set of active systems and entities.
Definition: game_state.h:41
bool isBoolSet(std::string key) const
Returns whether a key has a true bool set to it.
Definition: player_data.cpp:85
A key-value storage for serialization.
Definition: serialization.h:36
LockedMap & lockedMap()
Getter for the map of locked concepts.
Definition: player_data.cpp:61