예제 #1
0
 public InitializeDefaultLocalSpawnRequirementsEventListener(ILocalPlayerSpawnedEventSubscribable subscriptionService,
                                                             [NotNull] GladMMOUnityClient client,
                                                             [NotNull] ILocalCharacterDataRepository characterDataRepository)
     : base(subscriptionService)
 {
     Client = client ?? throw new ArgumentNullException(nameof(client));
     CharacterDataRepository = characterDataRepository ?? throw new ArgumentNullException(nameof(characterDataRepository));
 }
 public InitializeClientLoadingPositionEventListener(ILocalPlayerSpawnedEventSubscribable subscriptionService,
                                                     [NotNull] GladMMOUnityClient client,
                                                     [NotNull] IReadonlyEntityGuidMappable <IMovementData> movementDataMappable)
     : base(subscriptionService)
 {
     Client = client ?? throw new ArgumentNullException(nameof(client));
     MovementDataMappable = movementDataMappable ?? throw new ArgumentNullException(nameof(movementDataMappable));
 }
예제 #3
0
 public DefaultMovementGeneratorFactory([JetBrains.Annotations.NotNull] ILog logger, [JetBrains.Annotations.NotNull] GladMMOUnityClient client)
 {
     Logger = logger ?? throw new ArgumentNullException(nameof(logger));
     Client = client ?? throw new ArgumentNullException(nameof(client));
 }
 public RegionLoadedCheckTickable([JetBrains.Annotations.NotNull] GladMMOUnityClient client)
 {
     Client = client ?? throw new ArgumentNullException(nameof(client));
 }
예제 #5
0
 public SetClientAuthResultEventListener(IAuthenticationResultRecievedEventSubscribable subscriptionService, GladMMOUnityClient client)
     : base(subscriptionService)
 {
     Client = client ?? throw new ArgumentNullException(nameof(client));
 }
예제 #6
0
 public LoginButtonClientAdapter(GladMMOUnityClient client)
 {
     Client = client ?? throw new ArgumentNullException(nameof(client));
     Client.OnLoginButtonClickedEvent += OnLoginButtonClicked;
 }
예제 #7
0
 public InitializeLocalPlayerEventListener(ILocalPlayerSpawnedEventSubscribable subscriptionService,
                                           [NotNull] GladMMOUnityClient client)
     : base(subscriptionService)
 {
     Client = client ?? throw new ArgumentNullException(nameof(client));
 }