Remove: COMPANY_INFO packets and related code #9475
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation / Problem
#9467 asked if we could remove the
COMPANY_INFO
packets, as they are now unused (by our clients).Description
To get a bit of visual what it involves, I created this PR. I have several reservations whether this is a good idea or not.
COMPANY_INFO
is part of the DO NOT CHANGE THIS .. which makes me wonder if there is anything I am overlooking, why this would be bad. I noticed I failed to estimate the impact of this.We can also do everything "in between". Only remove the client-side, only remove the server-side, leave it alone.
I am rather conflicted about this, but I just present this PR so we can have a talk.
Edit: the more I think about it, the more I think all cases I mention where people might be using this packet, are illegal use of the packet. Additionally, #7268 really points out this packet should not exist in this form. So I do think we should remove it. Means we can also safely close #7268, as with this PR (combined with all the other work done on multiplayer) it is sufficiently addressed in my opinion.
Limitations
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.