Output DB/ScriptLib versions in ".server info" command.

Required support by used scripting library.
This commit is contained in:
VladimirMangos 2008-10-26 16:17:33 +03:00
parent 24549669a9
commit 6f190fedd4
15 changed files with 62 additions and 17 deletions

View file

@ -37,6 +37,7 @@ void UnloadScriptingModule();
typedef void(MANGOS_IMPORT * scriptCallScriptsInit) ();
typedef void(MANGOS_IMPORT * scriptCallScriptsFree) ();
typedef char const* (MANGOS_IMPORT * scriptCallScriptsVersion) ();
typedef bool(MANGOS_IMPORT * scriptCallGossipHello) (Player *player, Creature *_Creature );
typedef bool(MANGOS_IMPORT * scriptCallQuestAccept) (Player *player, Creature *_Creature, Quest const *);
@ -62,6 +63,7 @@ typedef struct
{
scriptCallScriptsInit ScriptsInit;
scriptCallScriptsFree ScriptsFree;
scriptCallScriptsVersion ScriptsVersion;
scriptCallGossipHello GossipHello;
scriptCallGOChooseReward GOChooseReward;