Created
June 25, 2022 20:56
-
-
Save matthewholliday/1b32232822733266f7ec65f5826b712e to your computer and use it in GitHub Desktop.
INetworkRunnerCallbacks empty implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Fusion; | |
using Fusion.Sockets; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class FusionSpawner : MonoBehaviour, INetworkRunnerCallbacks | |
{ | |
public void OnPlayerJoined(NetworkRunner runner, PlayerRef player) { } | |
public void OnPlayerLeft(NetworkRunner runner, PlayerRef player) { } | |
public void OnInput(NetworkRunner runner, NetworkInput input) { } | |
public void OnInputMissing(NetworkRunner runner, PlayerRef player, NetworkInput input) { } | |
public void OnShutdown(NetworkRunner runner, ShutdownReason shutdownReason) { } | |
public void OnConnectedToServer(NetworkRunner runner) { } | |
public void OnDisconnectedFromServer(NetworkRunner runner) { } | |
public void OnConnectRequest(NetworkRunner runner, NetworkRunnerCallbackArgs.ConnectRequest request, byte[] token) { } | |
public void OnConnectFailed(NetworkRunner runner, Fusion.Sockets.NetAddress remoteAddress, NetConnectFailedReason reason) { } | |
public void OnUserSimulationMessage(NetworkRunner runner, SimulationMessagePtr message) { } | |
public void OnSessionListUpdated(NetworkRunner runner, List<SessionInfo> sessionList) { } | |
public void OnCustomAuthenticationResponse(NetworkRunner runner, Dictionary<string, object> data) { } | |
public void OnHostMigration(NetworkRunner runner, HostMigrationToken hostMigrationToken) { } | |
public void OnReliableDataReceived(NetworkRunner runner, PlayerRef player, ArraySegment<byte> data) { } | |
public void OnSceneLoadDone(NetworkRunner runner) { } | |
public void OnSceneLoadStart(NetworkRunner runner) { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment