diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-02-15 20:29:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-15 20:29:14 +0100 |
commit | 5b7ead65bb116195f4336934bcff830e1b2af5bb (patch) | |
tree | a1c3ad975a1f50c77784b22f4ef593ba22e1e2c0 /src/common/Utilities/EventProcessor.h | |
parent | a0056951f7e425341760ebf3a7770477ef7f4446 (diff) |
Core/Scripts: Change PlayerScript and CreatureScript inheritance (#23048)
Remove UnitScript from PlayerScript and CreatureScript classes as that's how the original system that was PR'd worked, see https://github.com/TrinityCore/TrinityCore/pull/7867 for reference.
Please note these are used as global hooks and should really just invoke stateless functions.
If you need to hook methods from PlayerScript/CreatureScript and UnitScript, just define 2 different scripts (this is how the original system worked and how it was designed to work)
Diffstat (limited to 'src/common/Utilities/EventProcessor.h')
0 files changed, 0 insertions, 0 deletions