mirror of
https://github.com/mangosfour/server.git
synced 2025-12-23 16:37:03 +00:00
Output DB/ScriptLib versions in ".server info" command.
Required support by used scripting library.
This commit is contained in:
parent
24549669a9
commit
6f190fedd4
15 changed files with 62 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue