JGSL_servermode_loop
main loop file for dedicated server mode
Title |
main loop file for dedicated server mode |
Author(s) |
LiXizhi |
Date |
2008.9.13 |
File |
script/kids/3DMapSystemNetwork/JGSL_servermode_loop.lua |
Description
in
ParaWorldCore.lua, if the command line contains servemode="true", then the main game loop is automatically set this file
and main_state is set to "JGSL_servermode".
The server mode will periodically keep the server connection alive.
Sample Code
ParaGlobal.SetGameLoop("(gl)script/kids/3DMapSystemNetwork/JGSL_servermode_loop.lua");
Topic revision: r1 - 2008-02-29
- LiXizhi