Skip to content

Where is the application entry point

kytooooo edited this page May 26, 2020 · 6 revisions

Where is the application entry point (the main() function)?

Just search "int main(int argc, char* argv[])" you will know where is the entry point.

The entry point file is located in the NFServer Module.

As the name suggests, it loads plugins at runtime dynamically(or link the library under static mode). Whether the plugin is loaded depends on the settings in the Plugin.xml (or release variant respectively).

The whole framework is written in a way such that it is not necessary to change the main function; everything can be done by creating and loading custom plugins.

How to debug?

See https://github.com/ketoo/NoahGameFrame/wiki/How-to-run-the-Helloworld