Example #1
0
 /// <inheritdoc />
 public ClientSessionClaimRequestHandler(
     [NotNull] IZoneServerToGameServerClient gameServerClient,
     [NotNull] ILog logger,
     [NotNull] ISpawnPointStrategy spawnPointProvider,
     [NotNull] IEntityGuidMappable <CharacterDataInstance> initialCharacterDataMappable,
     [NotNull] ICharacterService characterService)
     : base(logger)
 {
     GameServerClient             = gameServerClient ?? throw new ArgumentNullException(nameof(gameServerClient));
     SpawnPointProvider           = spawnPointProvider ?? throw new ArgumentNullException(nameof(spawnPointProvider));
     InitialCharacterDataMappable = initialCharacterDataMappable ?? throw new ArgumentNullException(nameof(initialCharacterDataMappable));
     CharacterService             = characterService ?? throw new ArgumentNullException(nameof(characterService));
 }
Example #2
0
 /// <inheritdoc />
 public LobbyPlayerWorldRepresentationCreationOnWarpBeginEventListener(IWarpBeginEventSubscribable subscriptionService, [NotNull] IFactoryCreatable <GameObject, LocalPlayerWorldRepresentationCreationContext> localPlayerWorldRepresentationFactory, [NotNull] ISpawnPointStrategy spawnStrategy, [NotNull] ICharacterSlotSelectedModel slotIndex, [NotNull] ILog logger)
     : base(subscriptionService)
 {
     LocalPlayerWorldRepresentationFactory = localPlayerWorldRepresentationFactory ?? throw new ArgumentNullException(nameof(localPlayerWorldRepresentationFactory));
     SpawnStrategy = spawnStrategy ?? throw new ArgumentNullException(nameof(spawnStrategy));
     SlotIndex     = slotIndex ?? throw new ArgumentNullException(nameof(slotIndex));
     Logger        = logger ?? throw new ArgumentNullException(nameof(logger));
 }