Пример #1
0
 public SnapshotMessageHandler(ISnapshotSelector pool, ClientUpdateLatestManager clientUpdateMgr,
                               ITimeManager timeManager)
 {
     _pool            = pool;
     _timeManager     = timeManager;
     _clientUpdateMgr = clientUpdateMgr;
 }
Пример #2
0
 public SyncLastestManager(IGameContexts gameContexts, ISnapshotSelector snapshotSelector)
 {
     this.gameContexts     = gameContexts;
     this.snapshotSelector = snapshotSelector;
     diffHandler           = new SyncLatestMapDiffHandler(this);
     latestCompareAgent    = new GameEntitySelfLatestCompareAgent();
 }
Пример #3
0
 public VehiclePredictionProvider(ISnapshotSelector snapshotSelector, IGameContexts gameContexts,
                                  VehicleContext vehicleContext, bool serverAuthorative) : base(snapshotSelector,
                                                                                                gameContexts)
 {
     _vehicleContext    = vehicleContext;
     _serverAuthorative = serverAuthorative;
 }
Пример #4
0
 public UserPredictionProvider(ISnapshotSelector snapshotSelector, PlayerContext playerContext,
                               IGameContexts gameContexts) : base(snapshotSelector, gameContexts)
 {
     this.playerContext = playerContext;
 }
Пример #5
0
 public SnapshotSelectorContainer(ISnapshotSelector snapshotSelector)
 {
     _snapshotSelector = snapshotSelector;
 }
Пример #6
0
 public ServerCompensationWorldFactory(
     ISnapshotSelector snapshotSelectorContainer,
     IHitBoxEntityManager hitboxHandler) : base(hitboxHandler)
 {
     _snapshotSelector = snapshotSelectorContainer;
 }
 public AbstractPredictionProvider(ISnapshotSelector snapshotSelector, IGameContexts gameContexts)
 {
     this.snapshotSelector = snapshotSelector;
     this.gameContexts     = gameContexts;
 }