boss system

In the boss system, the function server manages the data, the scene server and the function directly synchronize the data, and the data on the function server is updated. The main data includes the id of the boss, the time of death, the time of birth, the refresh interval, the type and whether it has been notified. When the server is started, the scene server is notified to generate a boss, and then the boss dies, resurrects, and the blood volume data is synchronized to the scene. Use a singleton on the functional server to manage these data.

Guess you like

Origin blog.csdn.net/Ftworld21/article/details/107606373