Ejemplo n.º 1
0
 public SpellCastRequestPayloadHandler(ILog logger,
                                       IReadonlyConnectionEntityCollection connectionIdToEntityMap,
                                       IContextualResourceLockingPolicy <NetworkEntityGuid> lockingPolicy,
                                       [NotNull] IReadonlyEntityGuidMappable <IActorRef> actorReferenceMappable)
     : base(logger, connectionIdToEntityMap, lockingPolicy)
 {
     ActorReferenceMappable = actorReferenceMappable ?? throw new ArgumentNullException(nameof(actorReferenceMappable));
 }
Ejemplo n.º 2
0
 /// <inheritdoc />
 public PlayerModelChangeRequestHandler(
     ILog logger,
     IReadonlyConnectionEntityCollection connectionIdToEntityMap,
     IContextualResourceLockingPolicy <NetworkEntityGuid> lockingPolicy,
     [NotNull] IReadonlyEntityGuidMappable <IEntityDataFieldContainer> entityFieldMap)
     : base(logger, connectionIdToEntityMap, lockingPolicy)
 {
     EntityFieldMap = entityFieldMap ?? throw new ArgumentNullException(nameof(entityFieldMap));
 }
Ejemplo n.º 3
0
 /// <inheritdoc />
 public ClientMovementDataUpdateRequestHandler(
     [NotNull] ILog logger,
     [NotNull] IReadonlyConnectionEntityCollection connectionIdToEntityMap,
     [NotNull] IEntityGuidMappable <IMovementData> movementDataMap,
     IContextualResourceLockingPolicy <NetworkEntityGuid> lockingPolicy,
     [NotNull] IEntityGuidMappable <IMovementGenerator <GameObject> > movementGenerator,
     [NotNull] IReadonlyEntityGuidMappable <CharacterController> characterControllerMappable)
     : base(logger, connectionIdToEntityMap, lockingPolicy)
 {
     MovementDataMap             = movementDataMap ?? throw new ArgumentNullException(nameof(movementDataMap));
     MovementGenerator           = movementGenerator ?? throw new ArgumentNullException(nameof(movementGenerator));
     CharacterControllerMappable = characterControllerMappable ?? throw new ArgumentNullException(nameof(characterControllerMappable));
 }
Ejemplo n.º 4
0
 /// <inheritdoc />
 public ClientRotationDataUpdateRequestHandler(
     [NotNull] ILog logger,
     [NotNull] IReadonlyConnectionEntityCollection connectionIdToEntityMap,
     [NotNull] IEntityGuidMappable <IMovementData> movementDataMap,
     IContextualResourceLockingPolicy <NetworkEntityGuid> lockingPolicy,
     [NotNull] IEntityGuidMappable <IMovementGenerator <GameObject> > movementGenerator,
     [NotNull] IReadonlyNetworkTimeService timeService)
     : base(logger, connectionIdToEntityMap, lockingPolicy)
 {
     MovementDataMap   = movementDataMap ?? throw new ArgumentNullException(nameof(movementDataMap));
     MovementGenerator = movementGenerator ?? throw new ArgumentNullException(nameof(movementGenerator));
     TimeService       = timeService ?? throw new ArgumentNullException(nameof(timeService));
 }
Ejemplo n.º 5
0
 /// <inheritdoc />
 public ClientSetClickToMovePathRequestPayloadHandler(
     [NotNull] ILog logger,
     [NotNull] IReadonlyConnectionEntityCollection connectionIdToEntityMap,
     [NotNull] IEntityGuidMappable <IMovementData> movementDataMap,
     IContextualResourceLockingPolicy <NetworkEntityGuid> lockingPolicy,
     [NotNull] IEntityGuidMappable <IMovementGenerator <GameObject> > movementGenerator,
     [NotNull] IReadonlyNetworkTimeService timeService,
     [NotNull] IReadonlyEntityGuidMappable <IActorRef> actorReferenceMappable,
     [NotNull] IEntityGuidMappable <WorldTransform> transformMap)
     : base(logger, connectionIdToEntityMap, lockingPolicy)
 {
     MovementDataMap        = movementDataMap ?? throw new ArgumentNullException(nameof(movementDataMap));
     MovementGenerator      = movementGenerator ?? throw new ArgumentNullException(nameof(movementGenerator));
     TimeService            = timeService ?? throw new ArgumentNullException(nameof(timeService));
     ActorReferenceMappable = actorReferenceMappable ?? throw new ArgumentNullException(nameof(actorReferenceMappable));
     TransformMap           = transformMap ?? throw new ArgumentNullException(nameof(transformMap));
 }
Ejemplo n.º 6
0
 /// <inheritdoc />
 protected ControlledEntityRequestHandler(ILog logger, IReadonlyConnectionEntityCollection connectionIdToEntityMap, IContextualResourceLockingPolicy <NetworkEntityGuid> lockingPolicy)
     : base(logger, connectionIdToEntityMap, lockingPolicy)
 {
 }
Ejemplo n.º 7
0
 public PlayerNetworkTrackerChangeUpdateRequestHandler(ILog logger, IReadonlyConnectionEntityCollection connectionIdToEntityMap, IContextualResourceLockingPolicy <NetworkEntityGuid> lockingPolicy,
                                                       [NotNull] IReadonlyEntityGuidMappable <InterestCollection> interestCollections,
                                                       [NotNull] IEntitySessionMessageSender entityMessageSender)
     : base(logger, connectionIdToEntityMap, lockingPolicy)
 {
     InterestCollections = interestCollections ?? throw new ArgumentNullException(nameof(interestCollections));
     EntityMessageSender = entityMessageSender ?? throw new ArgumentNullException(nameof(entityMessageSender));
 }