nw::kernel::ServiceInitTime
-
enum class nw::kernel::ServiceInitTime
Guides services on load order.
Values:
-
enumerator kernel_start
Immediately after the kernel is started with
nw::kernel::start().Note
example: The resource manager loading base game resources.
-
enumerator module_pre_load
Before module is constructed and assets, i.e. haks/tlks, have been loaded.
Note
example: Initializing the object system, since the module itself, must be constructed via that system.
-
enumerator module_post_load
After module assets have been loaded, i.e. haks, tlk. but before any areas have been loaded
Note
example: The rules system needs to be initialized here that will effect all other objects, creatures, etc, when constructed during module instantiation
-
enumerator module_post_instantiation
After the module has been instantiated, i.e. all areas have been constructed.
Note
example:
-
enumerator kernel_start