コード例 #1
0
 public AbstractPredictionInfoProvider(
     ISnapshotSelectorContainer snapshotSelector,
     IGameContexts gameContexts)
 {
     _snapshotSelector = snapshotSelector;
     _gameContexts     = gameContexts;
 }
コード例 #2
0
 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;
 }
コード例 #4
0
 public VehiclePredictionInfoProvider(
     ISnapshotSelectorContainer snapshotSelector,
     IGameContexts gameContexts, VehicleContext vehicleContext,
     bool serverAuthorative)
     : base(snapshotSelector, gameContexts)
 {
     _vehicleContext    = vehicleContext;
     _serverAuthorative = serverAuthorative;
 }
コード例 #5
0
 public ServerCompensationWorldFactory(
     ISnapshotSelectorContainer snapshotSelectorContainer,
     IHitBoxEntityManager hitboxHandler) : base(hitboxHandler)
 {
     _snapshotSelector = snapshotSelectorContainer;
 }