]> git.deb.at Git - rhonda/impostor.git/commit
Bugfix/fix outfit RPCs (#653)
authordanbudworthmead <danbudworthmead@gmail.com>
Sat, 5 Oct 2024 10:44:08 +0000 (11:44 +0100)
committerGitHub <noreply@github.com>
Sat, 5 Oct 2024 10:44:08 +0000 (12:44 +0200)
commit2603f34b898c5054a21c2d2003808829b4b670ca
treeff3d681a64cf729b6ecdbc5faab7caeace72d638
parent9b27edbb1156420ac0e8ad411b13643b284b7a12
Bugfix/fix outfit RPCs (#653)

* implemented the sequence ID

* implemented the sequence ID for the player outfits

the sequence ID in the set call must be greater than that stored on the client otherwise the client disregards the set call.

* make sequence IDs internal

* added space after closing brace

* make the sequence ID addition +5
src/Impostor.Api/Innersloth/Customization/PlayerOutfit.cs
src/Impostor.Api/Net/Messages/Rpcs/Rpc39SetHatStr.cs
src/Impostor.Api/Net/Messages/Rpcs/Rpc40SetSkinStr.cs
src/Impostor.Api/Net/Messages/Rpcs/Rpc41SetPetStr.cs
src/Impostor.Api/Net/Messages/Rpcs/Rpc42SetVisorStr.cs
src/Impostor.Api/Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs
src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.Api.cs
src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.cs
src/Impostor.Server/Net/Inner/Objects/InnerPlayerInfo.cs