From 16008b7574d15c212c5dfa00a28dd16541a492bb Mon Sep 17 00:00:00 2001 From: Yehonal Date: Wed, 28 Apr 2021 16:05:00 +0200 Subject: Improve documentation for c++ hooks (#444) --- docs/Create-a-Module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/Create-a-Module.md') diff --git a/docs/Create-a-Module.md b/docs/Create-a-Module.md index 231ffec..cbdff12 100644 --- a/docs/Create-a-Module.md +++ b/docs/Create-a-Module.md @@ -7,9 +7,9 @@ Before start we suggest you to read [Documentation about modular structure](The- - Module template: [https://github.com/azerothcore/skeleton-module](https://github.com/azerothcore/skeleton-module) - Script template: https://github.com/azerothcore/azerothcore-boilerplates -- All the hooks in the core are listed in [ScriptMgr.cpp](https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/game/Scripting/ScriptMgr.cpp). If you need custom hooks, they can be added to the core. - +- All the hooks in the core are listed in [ScriptMgr.h](https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/game/Scripting/ScriptMgr.h). If you need custom hooks, they can be added to the core by [sending a PR](https://www.azerothcore.org/wiki/How-to-create-a-PR). +- If you need to create a new hook for your module, please follow this guide: [How to create a new hook](Hooks-Script.md) ### **The Basis** -- cgit