mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Have initServer only get called when a server is actually started for the first time Added utility method callGamemodeFunction to streamline exec'ing of gamemode function calls Added onClientConnect gamemode function, called when the client establishes the connection Added onInitialControlSet gamemode function, called when the client actively gains control in the game, to allow gamemodes to special override GUI settings or input commands Cleaned up init'ng of the engine so stock UI module isn't required to trip configuration of the canvas Added fallback so if nothing set the main content control for the UI after boot, we attempt to set the defined mainMenuGUI, on the chance nothing explicitly sets it on load
19 lines
421 B
C#
19 lines
421 B
C#
function StaticShapeTest::onCreate(%this)
|
|
{
|
|
}
|
|
|
|
function StaticShapeTest::onDestroy(%this)
|
|
{
|
|
}
|
|
|
|
function StaticShapeTest::initServer(%this){}
|
|
|
|
function StaticShapeTest::onCreateGameServer(%this){}
|
|
|
|
function StaticShapeTest::onDestroyGameServer(%this){}
|
|
|
|
function StaticShapeTest::initClient(%this){}
|
|
|
|
function StaticShapeTest::onCreateClientConnection(%this){}
|
|
|
|
function StaticShapeTest::onDestroyClientConnection(%this){} |