Пример #1
0
 public ClientDoorManager(
     NetworkRelay relay,
     DoorManager doorManager,
     GenericMessageWithResponseClient sender)
 {
     _networkRelay = relay;
     _doorManager  = doorManager;
     _sender       = sender;
 }
 public SynchronizedSceneManager(
     NetworkRelay relay,
     ScenePostinitializationEvents postInitEvents,
     GenericMessageWithResponseHost messageWithResponseHost,
     GenericMessageWithResponseClient messageWithResponseClient)
 {
     _relay                     = relay;
     _postInitEvents            = postInitEvents;
     _messageWithResponseHost   = messageWithResponseHost;
     _messageWithResponseClient = messageWithResponseClient;
 }
Пример #3
0
 public LevelGraphMessageReceiver(
     NetworkRelay relay,
     LevelGraphState graphState,
     GenericMessageWithResponseClient sender,
     LevelSpawner levelSpawner)
 {
     _relay        = relay;
     _sender       = sender;
     _levelSpawner = levelSpawner;
     _graphState   = graphState;
 }
 public NetworkedCharacterSpawner(
     GenericMessageWithResponseClient messageWithResponse,
     GlobalHostPlayerManager globalHostPlayerManager,
     CharacterSpawner characterSpawner,
     NetworkRelay networkRelay,
     UnityClient client
     )
 {
     _globalHostPlayerManager = globalHostPlayerManager;
     _messageWithResponse     = messageWithResponse;
     _characterSpawner        = characterSpawner;
     _networkRelay            = networkRelay;
     _client = client;
 }