docs: NetworkManager callbacks (#2207)

* removing mention of start

start happens before server/host/client starts

* updating order for stophost
This commit is contained in:
James Frowen 2020-08-31 00:16:59 +01:00 committed by GitHub
parent 05b4457e61
commit 0d6e867978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,6 @@ A game can be running in one of three modes, host, client, or server-only. The c
## Host Mode:
When the host is started:
- `Start()` function is called
- `OnStartServer`
- `OnStartHost`
- `OnServerConnect`
@ -35,13 +34,13 @@ When a client disconnects:
When the host is stopped:
- `OnStopHost`
- `OnStopServer`
- `OnServerDisconnect`
- `OnStopClient`
- `OnStopServer`
## Client Mode
When the client starts:
- `Start()` function is called
- `OnStartClient`
- `OnClientConnect`
- `OnClientChangeScene`
@ -54,7 +53,6 @@ When the client stops:
## Server Mode
When the server starts:
- `Start()` function is called
- `OnStartServer`
- `OnServerSceneChanged`