mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[11432] Provide access to some script data (names, count) for script DLL
This commit is contained in:
parent
3ecf19a05a
commit
341379e1ab
3 changed files with 15 additions and 1 deletions
|
|
@ -1221,3 +1221,14 @@ uint32 GetScriptId(const char *name)
|
|||
{
|
||||
return sScriptMgr.GetScriptId(name);
|
||||
}
|
||||
|
||||
char const* GetScriptName(uint32 id)
|
||||
{
|
||||
return sScriptMgr.GetScriptName(id);
|
||||
}
|
||||
|
||||
uint32 GetScriptIdsCount()
|
||||
{
|
||||
return sScriptMgr.GetScriptIdsCount();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue