#include <dummygamedef.h>
Public Member Functions | |
DummyGameDef () | |
~DummyGameDef () | |
IItemDefManager * | getItemDefManager () override |
const NodeDefManager * | getNodeDefManager () override |
NodeDefManager * | getWritableNodeDefManager () |
ICraftDefManager * | getCraftDefManager () override |
u16 | allocateUnknownNodeId (const std::string &name) override |
const std::vector< ModSpec > & | getMods () const override |
const ModSpec * | getModSpec (const std::string &modname) const override |
ModStorageDatabase * | getModStorageDatabase () override |
bool | joinModChannel (const std::string &channel) override |
bool | leaveModChannel (const std::string &channel) override |
bool | sendModChannelMessage (const std::string &channel, const std::string &message) override |
ModChannel * | getModChannel (const std::string &channel) override |
Public Member Functions inherited from IGameDef | |
virtual IRollbackManager * | getRollbackManager () |
virtual ModIPCStore * | getModIPCStore () |
IItemDefManager * | idef () |
const NodeDefManager * | ndef () |
ICraftDefManager * | cdef () |
IRollbackManager * | rollback () |
virtual const SubgameSpec * | getGameSpec () const |
virtual std::string | getWorldPath () const |
virtual std::string | getModDataPath () const |
Protected Attributes | |
IItemDefManager * | m_itemdef = nullptr |
NodeDefManager * | m_nodedef = nullptr |
ICraftDefManager * | m_craftdef = nullptr |
ModStorageDatabase * | m_mod_storage_database = nullptr |
|
inline |
|
inline |
References m_craftdef, m_itemdef, m_mod_storage_database, and m_nodedef.
|
inlineoverridevirtual |
Implements IGameDef.
References NodeDefManager::allocateDummy(), and m_nodedef.
|
inlineoverridevirtual |
Implements IGameDef.
References m_craftdef.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements IGameDef.
Reimplemented in TestGameDef.
|
inlineoverridevirtual |
Implements IGameDef.
|
inlineoverridevirtual |
Implements IGameDef.
|
inlineoverridevirtual |
Implements IGameDef.
References m_mod_storage_database.
|
inlineoverridevirtual |
|
inline |
|
inlineoverridevirtual |
Implements IGameDef.
Reimplemented in TestGameDef.
|
inlineoverridevirtual |
Implements IGameDef.
Reimplemented in TestGameDef.
|
inlineoverridevirtual |
Implements IGameDef.
Reimplemented in TestGameDef.
|
protected |
Referenced by ~DummyGameDef(), and getCraftDefManager().
|
protected |
Referenced by ~DummyGameDef(), TestGameDef::defineSomeNodes(), and getItemDefManager().
|
protected |
Referenced by ~DummyGameDef(), and getModStorageDatabase().
|
protected |