mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 19:37:07 +00:00
[7295] Make more static world data accessable for scripts use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
1fa4ecf482
commit
0be9e35b7b
5 changed files with 22 additions and 4 deletions
|
|
@ -707,3 +707,6 @@ uint32 const* GetTalentTabPages(uint32 cls)
|
|||
MANGOS_DLL_SPEC DBCStorage <SoundEntriesEntry> const* GetSoundEntriesStore() { return &sSoundEntriesStore; }
|
||||
MANGOS_DLL_SPEC DBCStorage <SpellEntry> const* GetSpellStore() { return &sSpellStore; }
|
||||
MANGOS_DLL_SPEC DBCStorage <SpellRangeEntry> const* GetSpellRangeStore() { return &sSpellRangeStore; }
|
||||
MANGOS_DLL_SPEC DBCStorage <FactionEntry> const* GetFactionStore() { return &sFactionStore; }
|
||||
MANGOS_DLL_SPEC DBCStorage <ItemEntry> const* GetItemDisplayStore() { return &sItemStore; }
|
||||
MANGOS_DLL_SPEC DBCStorage <CreatureDisplayInfoEntry> const* GetCreatureDisplayStore() { return &sCreatureDisplayInfoStore; }
|
||||
|
|
|
|||
|
|
@ -215,7 +215,10 @@ extern DBCStorage <WorldMapOverlayEntry> sWorldMapOverlayStore;
|
|||
void LoadDBCStores(const std::string& dataPath);
|
||||
|
||||
// script support functions
|
||||
MANGOS_DLL_SPEC DBCStorage <SoundEntriesEntry> const* GetSoundEntriesStore();
|
||||
MANGOS_DLL_SPEC DBCStorage <SpellEntry> const* GetSpellStore();
|
||||
MANGOS_DLL_SPEC DBCStorage <SpellRangeEntry> const* GetSpellRangeStore();
|
||||
MANGOS_DLL_SPEC DBCStorage <SoundEntriesEntry> const* GetSoundEntriesStore();
|
||||
MANGOS_DLL_SPEC DBCStorage <SpellEntry> const* GetSpellStore();
|
||||
MANGOS_DLL_SPEC DBCStorage <SpellRangeEntry> const* GetSpellRangeStore();
|
||||
MANGOS_DLL_SPEC DBCStorage <FactionEntry> const* GetFactionStore();
|
||||
MANGOS_DLL_SPEC DBCStorage <ItemEntry> const* GetItemDisplayStore();
|
||||
MANGOS_DLL_SPEC DBCStorage <CreatureDisplayInfoEntry> const* GetCreatureDisplayStore();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue