aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation/depends.txt
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-10-25 22:39:25 +0200
committerorwell96 <orwell@bleipb.de>2018-10-25 22:40:28 +0200
commitf007017aa4efc5c51bbfe7202235053a6ae8d50a (patch)
tree4fe99adaf0c47bce17d56b5c01e30566272696fc /advtrains_luaautomation/depends.txt
parent69f368ab34614539c1dde8442fb56efa66bebe6d (diff)
downloadadvtrains-f007017aa4efc5c51bbfe7202235053a6ae8d50a.tar.gz
advtrains-f007017aa4efc5c51bbfe7202235053a6ae8d50a.tar.bz2
advtrains-f007017aa4efc5c51bbfe7202235053a6ae8d50a.zip
Add doc for supported_aspects, improve other doc and aspect autofill
Diffstat (limited to 'advtrains_luaautomation/depends.txt')
0 files changed, 0 insertions, 0 deletions
class="hl opt">; class ModChannel; class ModMetadata; namespace irr { namespace scene { class IAnimatedMesh; class ISceneManager; }} struct ModSpec; /* An interface for fetching game-global definitions like tool and mapnode properties */ class IGameDef { public: // These are thread-safe IF they are not edited while running threads. // Thus, first they are set up and then they are only read. virtual IItemDefManager* getItemDefManager()=0; virtual const NodeDefManager* getNodeDefManager()=0; virtual ICraftDefManager* getCraftDefManager()=0; // Used for keeping track of names/ids of unknown nodes virtual u16 allocateUnknownNodeId(const std::string &name)=0; // Only usable on the server, and NOT thread-safe. It is usable from the // environment thread. virtual IRollbackManager* getRollbackManager() { return NULL; } // Shorthands IItemDefManager *idef() { return getItemDefManager(); } const NodeDefManager *ndef() { return getNodeDefManager(); } ICraftDefManager *cdef() { return getCraftDefManager(); } IRollbackManager *rollback() { return getRollbackManager(); } virtual const std::vector<ModSpec> &getMods() const = 0; virtual const ModSpec* getModSpec(const std::string &modname) const = 0; virtual std::string getWorldPath() const { return ""; } virtual std::string getModStoragePath() const = 0; virtual bool registerModStorage(ModMetadata *storage) = 0; virtual void unregisterModStorage(const std::string &name) = 0; virtual bool joinModChannel(const std::string &channel) = 0; virtual bool leaveModChannel(const std::string &channel) = 0; virtual bool sendModChannelMessage(const std::string &channel, const std::string &message) = 0; virtual ModChannel *getModChannel(const std::string &channel) = 0; };