[DiscordArchive] in TC are `m_bool_configs` loaded when that line is called?
[DiscordArchive] in TC are `m_bool_configs` loaded when that line is called?
Archived author: Nefertum • Posted: 2019-01-06T17:19:06.645000+00:00
Original source
https://github.com/TrinityCore/TrinityCo...p.in.cmake
[Embed: TrinityCore/TrinityCore]
TrinityCore Open Source MMO Framework (master = 8.0.1.28153, 3.3.5 = 3.3.5a.12340) - TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...p.in.cmake
Archived author: Shin • Posted: 2019-01-06T17:19:52.829000+00:00
Original source
<@217695958694100992> check if you see something useful here: https://github.com/TrinityCore/TrinityCo...Loader.cpp
[Embed: TrinityCore/TrinityCore]
TrinityCore Open Source MMO Framework (master = 8.0.1.28153, 3.3.5 = 3.3.5a.12340) - TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...Loader.cpp
Archived author: Nefertum • Posted: 2019-01-06T17:30:09.097000+00:00
Original source
I didn't find any relevant
Archived author: Nefertum • Posted: 2019-01-06T17:30:12.120000+00:00
Original source
But... https://github.com/TrinityCore/TrinityCo...cdcb01cR54
[Embed: Core/Scripts: Split the huge scriptloader into smaller pieces · T...]
* Each subdirectory contains it's own translation unit now
which is responsible for loading it's directory
* Improves merging & decoupling between 3.3.5 <-> 6.x
* Removes unused...
https://github.com/TrinityCore/TrinityCo...b2b6fc7c69
Archived author: Shin • Posted: 2019-01-06T17:31:35.034000+00:00
Original source
and it's still that way: https://github.com/TrinityCore/TrinityCo...er.cpp#L55
[Embed: TrinityCore/TrinityCore]
TrinityCore Open Source MMO Framework (master = 8.0.1.28153, 3.3.5 = 3.3.5a.12340) - TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...loader.cpp
Archived author: Nefertum • Posted: 2019-01-06T17:32:34.599000+00:00
Original source
Yes
Archived author: Nefertum • Posted: 2019-01-06T17:32:41.103000+00:00
Original source
And i think trinity has the same problem
Archived author: Nefertum • Posted: 2019-01-06T17:34:35.472000+00:00
Original source
We should move it
Archived author: Nefertum • Posted: 2019-01-06T17:42:32.185000+00:00
Original source
I don't know if it's a good practice (not efficient at least) but the way i think we can fix the pr is call the getBoolConfig at the functions
Archived author: Nefertum • Posted: 2019-01-06T17:43:57.648000+00:00
Original source
I don't like it really much because it will call the hooks anyway