Kanda Foundation 0.2.0
Loading...
Searching...
No Matches
NetCodeBootstrap Class Reference

This class overrides the NetCode ClientServerBootstrap, implementing a custom way of starting NetCode that serves user intent. More...

+ Inheritance diagram for NetCodeBootstrap:

Public Member Functions

 NetCodeBootstrap ()
 This constructor is used by Netcode to find and activate the bootstrap at runtime.
 
override bool Initialize (string defaultWorldName)
 By default: On application startup, only the local ECS world is initialized. When a session is started NetCode worlds must be spun up manually depending on the session mode.
 

Detailed Description

This class overrides the NetCode ClientServerBootstrap, implementing a custom way of starting NetCode that serves user intent.

See the NetCode docs for more information.

Member Function Documentation

◆ Initialize()

override bool Initialize ( string defaultWorldName)
inline

By default: On application startup, only the local ECS world is initialized. When a session is started NetCode worlds must be spun up manually depending on the session mode.

When starting a non-lobby scene in the Editor, the default client server bootstrap is still created to allow for local testing.


The documentation for this class was generated from the following file: