public AbstractPredictionInfoProvider(
     ISnapshotSelectorContainer snapshotSelector,
     IGameContexts gameContexts)
 {
     _snapshotSelector = snapshotSelector;
     _gameContexts     = gameContexts;
 }
 public UserPredictionInfoProvider(
     ISnapshotSelectorContainer snapshotSelector,
     PlayerContext playerContext,
     IGameContexts gameContexts)
     : base(snapshotSelector, gameContexts)
 {
     _playerContext = playerContext;
 }
Пример #3
0
 public SyncLatestHandler(
     ISnapshotSelectorContainer snapshotPool,
     IGameContexts gameContexts,
     ISnapshotEntityMapFilter snapshotEntityMapFilter)
 {
     _snapshotPool            = snapshotPool;
     _gameContexts            = gameContexts;
     _snapshotEntityMapFilter = snapshotEntityMapFilter;
 }
 public VehiclePredictionInfoProvider(
     ISnapshotSelectorContainer snapshotSelector,
     IGameContexts gameContexts, VehicleContext vehicleContext,
     bool serverAuthorative)
     : base(snapshotSelector, gameContexts)
 {
     _vehicleContext    = vehicleContext;
     _serverAuthorative = serverAuthorative;
 }
 public ServerCompensationWorldFactory(
     ISnapshotSelectorContainer snapshotSelectorContainer,
     IHitBoxEntityManager hitboxHandler) : base(hitboxHandler)
 {
     _snapshotSelector = snapshotSelectorContainer;
 }