internal void Populate( IEnumerable <RailCommandUpdate> commandUpdates, RailView view) { this.commandUpdates.AddPending(commandUpdates); this.view.Integrate(view); }
public void Integrate(RailView other) { foreach (KeyValuePair <EntityId, RailViewEntry> pair in other.latestUpdates) { this.RecordUpdate(pair.Key, pair.Value); } }
internal RailClientPeer( IRailNetPeer netPeer, RailInterpreter interpreter) : base(netPeer, interpreter) { this.localView = new RailView(); this.sortingList = new List <RailEntity>(); }
internal RailScope() { this.Evaluator = new RailScopeEvaluator(); this.lastSent = new RailView(); this.ackedByClient = new RailView(); this.entryList = new List <KeyValuePair <float, RailEntity> >(); this.activeList = new List <RailStateDelta>(); this.frozenList = new List <RailStateDelta>(); this.destroyedList = new List <RailStateDelta>(); }
public RailClientPacket() : base() { this.view = new RailView(); this.commandUpdates = new RailPackedListC2S <RailCommandUpdate>(); }
internal void IntegrateAcked(RailView packetView) { this.ackedByClient.Integrate(packetView); }