mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
[10988] Propertly note for not loaded script library version.
* Better support localization in case built-in version notes. * Move script library version functions to ScriptMgr
This commit is contained in:
parent
6e241689e7
commit
d2b3977fee
10 changed files with 43 additions and 19 deletions
|
|
@ -341,10 +341,12 @@ class ScriptMgr
|
|||
|
||||
ScriptLoadResult LoadScriptLibrary(const char* libName);
|
||||
void UnloadScriptLibrary();
|
||||
bool IsScriptLibraryLoaded() const { return m_hScriptLib != NULL; }
|
||||
|
||||
CreatureAI* GetCreatureAI(Creature* pCreature);
|
||||
InstanceData* CreateInstanceData(Map* pMap);
|
||||
|
||||
char const* GetScriptLibraryVersion() const;
|
||||
bool OnGossipHello(Player* pPlayer, Creature* pCreature);
|
||||
bool OnGossipHello(Player* pPlayer, GameObject* pGameObject);
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* pCreature, uint32 sender, uint32 action, const char* code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue