Make my pr's page looks nice

This commit is contained in:
Niko233 committed 2024-06-24 18:07:58 +08:00
1 parent eeab337c75
commit 4f5cf7837c
6 files changed
+2 -12

No files matched your search

@@ -1,5 +1,3 @@
using Impostor.Api.Games;
namespace Impostor.Api.Net.Messages.Rpcs
{
public static class Rpc62CheckVanish
@@ -1,5 +1,3 @@
using Impostor.Api.Games;
namespace Impostor.Api.Net.Messages.Rpcs
{
public static class Rpc63StartVanish
@@ -1,5 +1,3 @@
using Impostor.Api.Games;
namespace Impostor.Api.Net.Messages.Rpcs
{
public static class Rpc64CheckAppear
@@ -1,5 +1,3 @@
using Impostor.Api.Games;
namespace Impostor.Api.Net.Messages.Rpcs
{
public static class Rpc65StartAppear
@@ -716,10 +716,10 @@ namespace Impostor.Server.Net.Inner.Objects
{
// TODO fix
// if (await sender.Client.ReportCheatAsync(RpcCalls.SetName, CheatCategory.NameLimits, $"Client sent SetName with incorrect name, got '{name}', expected '{expected}'"))
//{
// {
// await SetNameAsync(expected);
// return false;
//}
// }
}
}
else
@@ -14,7 +14,6 @@ using Impostor.Api.Utils;
using Impostor.Server.Net.State;
using Microsoft.Extensions.Logging;
namespace Impostor.Server.Net.Inner.Objects
{
internal partial class InnerPlayerInfo
@@ -143,7 +142,6 @@ namespace Impostor.Server.Net.Inner.Objects
public override ValueTask DeserializeAsync(IClientPlayer sender, IClientPlayer? target, IMessageReader reader, bool initialState)
{
// TODO ac
PlayerId = reader.ReadByte();
ClientId = reader.ReadPackedInt32();