public InitializePlayerMovementDataEventListener(IPlayerSessionClaimedEventSubscribable subscriptionService, [NotNull] IEntityGuidMappable <IMovementData> movementDataMappable, [NotNull] INetworkTimeService timeService) : base(subscriptionService) { MovementDataMappable = movementDataMappable ?? throw new ArgumentNullException(nameof(movementDataMappable)); TimeService = timeService ?? throw new ArgumentNullException(nameof(timeService)); }
/// <inheritdoc /> public MovementSimulationTickable( IReadonlyEntityGuidMappable <IMovementGenerator <GameObject> > movementGenerators, IReadonlyEntityGuidMappable <GameObject> worldObjectMap, INetworkTimeService timeService) { MovementGenerators = movementGenerators ?? throw new ArgumentNullException(nameof(movementGenerators)); WorldObjectMap = worldObjectMap ?? throw new ArgumentNullException(nameof(worldObjectMap)); TimeService = timeService ?? throw new ArgumentNullException(nameof(timeService)); }
public EntityTrySpellCastMessageHandler([NotNull] INetworkTimeService timeService, [NotNull] IEntityGuidMappable <PendingSpellCastData> pendingSpellCastMappable, [NotNull] IPendingSpellCastFactory pendingSpellFactory, [NotNull] ISpellCastAttemptValidator spellCastValidator) { TimeService = timeService ?? throw new ArgumentNullException(nameof(timeService)); PendingSpellCastMappable = pendingSpellCastMappable ?? throw new ArgumentNullException(nameof(pendingSpellCastMappable)); PendingSpellFactory = pendingSpellFactory ?? throw new ArgumentNullException(nameof(pendingSpellFactory)); SpellCastValidator = spellCastValidator ?? throw new ArgumentNullException(nameof(spellCastValidator)); }
/// <inheritdoc /> public MovementSimulationTickable( IReadonlyEntityGuidMappable <IMovementGenerator <IWorldObject> > movementGenerators, IReadonlyEntityGuidMappable <IWorldObject> worldObjectMap, INetworkTimeService timeService, [NotNull] IReadonlyKnownEntitySet knonwnEntities) { MovementGenerators = movementGenerators ?? throw new ArgumentNullException(nameof(movementGenerators)); WorldObjectMap = worldObjectMap ?? throw new ArgumentNullException(nameof(worldObjectMap)); TimeService = timeService ?? throw new ArgumentNullException(nameof(timeService)); KnonwnEntities = knonwnEntities ?? throw new ArgumentNullException(nameof(knonwnEntities)); }
/// <inheritdoc /> public PathMovementBlockHandler( IEntityGuidMappable <IMovementData> movementDataMap, IEntityGuidMappable <IMovementGenerator <GameObject> > movementGenerator, IEntityGuidMappable <GameObject> gameObjectMap, INetworkTimeService timeService) { MovementDataMap = movementDataMap ?? throw new ArgumentNullException(nameof(movementDataMap)); MovementGenerator = movementGenerator ?? throw new ArgumentNullException(nameof(movementGenerator)); GameObjectMap = gameObjectMap ?? throw new ArgumentNullException(nameof(gameObjectMap)); TimeService = timeService ?? throw new ArgumentNullException(nameof(timeService)); }
public OnMoveInputChangePredictMovementDataEventListener(IMovementInputChangedEventSubscribable subscriptionService, [NotNull] ILocalPlayerDetails playerDetails, [NotNull] INetworkTimeService timeService, [NotNull] IReadonlyEntityGuidMappable <WorldTransform> transformMap, [NotNull] MovementUpdateMessageHandler movementUpdateHandler, [NotNull] IEntityGuidMappable <IMovementData> movementDataMappable) : base(subscriptionService) { PlayerDetails = playerDetails ?? throw new ArgumentNullException(nameof(playerDetails)); TimeService = timeService ?? throw new ArgumentNullException(nameof(timeService)); TransformMap = transformMap ?? throw new ArgumentNullException(nameof(transformMap)); MovementUpdateHandler = movementUpdateHandler ?? throw new ArgumentNullException(nameof(movementUpdateHandler)); MovementDataMappable = movementDataMappable ?? throw new ArgumentNullException(nameof(movementDataMappable)); }
/// <inheritdoc /> public TimeSyncronizationResponseHandler(ILog logger, INetworkTimeService timeService) : base(logger) { TimeService = timeService ?? throw new ArgumentNullException(nameof(timeService)); }