Exemple #1
0
 public LobbyMessageSender(
     UnityClient client,
     LobbyState lobbyState,
     SceneMessageSender sceneMessageSender)
 {
     _client             = client;
     _lobbyState         = lobbyState;
     _sceneMessageSender = sceneMessageSender;
 }
 public ConnectionMenuMessageSender(
     UnityClient client,
     SceneMessageSender sceneMessageSender,
     PlayerOptions playerOptions)
 {
     _client             = client;
     _sceneMessageSender = sceneMessageSender;
     _playerOptions      = playerOptions;
 }
 public GenericMessageWithResponseHost(
     NetworkRelay relay,
     UnityClient client,
     SceneMessageSender sender,
     GlobalHostPlayerManager playerManager,
     ScenePostinitializationEvents postInitEvents)
 {
     ReadyPlayers   = new Dictionary <ushort, bool>();
     _relay         = relay;
     _client        = client;
     _playerManager = playerManager;
 }