Exemple #1
0
 public SceneInitializedBaseHandler(
     SceneInitializedAnnouncer announcer,
     ScenePostinitializationEvents postinitializationEvents
     )
 {
     _announcer = announcer;
     _postinitializationEvents = postinitializationEvents;
 }
 public ConnectionMenuClientMessageReceiver(
     NetworkRelay networkRelay,
     ConnectionMenuMessageSender sender,
     ScenePostinitializationEvents postInitEvents)
 {
     _sender         = sender;
     _networkRelay   = networkRelay;
     _postInitEvents = postInitEvents;
 }
 public SynchronizedSceneManager(
     NetworkRelay relay,
     ScenePostinitializationEvents postInitEvents,
     GenericMessageWithResponseHost messageWithResponseHost,
     GenericMessageWithResponseClient messageWithResponseClient)
 {
     _relay                     = relay;
     _postInitEvents            = postInitEvents;
     _messageWithResponseHost   = messageWithResponseHost;
     _messageWithResponseClient = messageWithResponseClient;
 }
 public GenericMessageWithResponseHost(
     NetworkRelay relay,
     UnityClient client,
     SceneMessageSender sender,
     GlobalHostPlayerManager playerManager,
     ScenePostinitializationEvents postInitEvents)
 {
     ReadyPlayers   = new Dictionary <ushort, bool>();
     _relay         = relay;
     _client        = client;
     _playerManager = playerManager;
 }