]> git.deb.at Git - rhonda/impostor.git/commit
Do not add ProductUserId/Friendcode on <2.24
authorminiduikboot <mini@duikbo.at>
Sat, 2 Apr 2022 08:41:37 +0000 (10:41 +0200)
committerminiduikboot <mini@duikbo.at>
Tue, 5 Apr 2022 18:05:06 +0000 (20:05 +0200)
commit729368d777bf7d3209156209ad3a84b014187528
tree350b729b50d2c0b1a47df05841a274abd7ddb912
parent5c06d1dd4d4251cb8078e5ddc0f31217294c6b94
Do not add ProductUserId/Friendcode on <2.24

Because it is fine to add data to the end of messages the new fields
could be added to Message 1 just fine, but because Message 7 contains a
loop, we need to send a different message to old clients there.
src/Impostor.Api/Net/IClient.cs
src/Impostor.Api/Net/Messages/S2C/Message07JoinedGameS2CPre20220202.cs [new file with mode: 0644]
src/Impostor.Server/Net/State/Game.Outgoing.cs