EverWrath/src/server/scripts/World
Benjamin Jackson 1edac37ac3
refactor(Core): Make more use of helpers. (#19835)
* Init.

* Reword.

* Update codestyle script.

Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Add gameobject type ID check, reorder checks.

* Add helper/codestyle check for unit type.

* `IsUnit()` -> `IsCreature()`

* Add `IsUnit()` method.

* Use type mask.

https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com>

* Replace instances of `isType` with `IsUnit`.

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com>
2024-09-03 14:41:31 -03:00
..
achievement_scripts.cpp refactor(Scripts/misc): remove unused imports (#19458) 2024-07-22 16:20:41 -03:00
action_ip_logger.cpp feat(Core/Scripts): Optimize PlayerScripts by calling only overridden/implemented functions. (#18672) 2024-04-11 17:08:30 -03:00
areatrigger_scripts.cpp fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
boss_emerald_dragons.cpp refactor(Core): Make more use of helpers. (#19835) 2024-09-03 14:41:31 -03:00
chat_log.cpp fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
go_scripts.cpp refactor(Core): Make more use of helpers. (#19835) 2024-09-03 14:41:31 -03:00
guards.cpp refactor(Core/Object): adds consistency in the use of type object check (#19671) 2024-08-25 09:57:37 -03:00
item_scripts.cpp fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
mob_generic_creature.cpp chore(Scripts/World): Remove unused legacy scripts (#18048) 2023-12-24 08:04:37 -03:00
npc_innkeeper.cpp feat(Core/Scripting): move all script objects to separated files (#17860) 2023-12-02 21:13:20 +01:00
npc_professions.cpp fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
npc_stave_of_ancients.cpp refactor(Core): Make more use of helpers. (#19835) 2024-09-03 14:41:31 -03:00
npc_stave_of_ancients.h refactor(Scripts/misc): remove unused imports (#19458) 2024-07-22 16:20:41 -03:00
npc_taxi.cpp feat(Core/Scripting): move all script objects to separated files (#17860) 2023-12-02 21:13:20 +01:00
npcs_special.cpp refactor(Core): Make more use of helpers. (#19835) 2024-09-03 14:41:31 -03:00
player_scripts.cpp fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
server_mail.cpp fix(Server): remove double blank lines at the end of several files (#19735) 2024-08-25 07:21:14 -03:00
world_script_loader.cpp feat(Core/Mail): Server mail (#10628) 2022-04-19 23:43:14 +02:00