public Modifications GetChanges() { Modifications mods = new Modifications(updated, newObjects, removed); alreadyExist.AddRange(newObjects); newObjects.Clear(); removed.Clear(); updated.Clear(); return(mods); }
public ServerClientPacket(Modifications modifications, int mostRecentRequest) { this.modifications = modifications; this.mostRecentRequest = mostRecentRequest; }