From 12bd5082b897b3df20cf84eebda07d3135cdbe43 Mon Sep 17 00:00:00 2001 From: STRWarrior Date: Wed, 11 Dec 2013 12:39:13 +0100 Subject: Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins. --- src/Root.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Root.h') diff --git a/src/Root.h b/src/Root.h index 4e38dd17f..c59afc810 100644 --- a/src/Root.h +++ b/src/Root.h @@ -42,6 +42,7 @@ public: cServer * GetServer(void) { return m_Server; } // tolua_export cWorld * GetDefaultWorld(void); // tolua_export cWorld * GetWorld(const AString & a_WorldName); // tolua_export + cWorld * CreateAndInitializeWorld(const AString & a_WorldName); // tolua_export /// Calls the callback for each world; returns true if the callback didn't abort (return true) bool ForEachWorld(cWorldListCallback & a_Callback); // >> Exported in ManualBindings << -- cgit v1.2.3