This commit is contained in:
2025-12-14 21:04:22 +01:00
parent c4eb7e944d
commit 3a7b81bfd7
112 changed files with 12 additions and 16665 deletions

View File

@@ -1,28 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KCM.Packets.Lobby
{
public class PlayerReady : Packet
{
public override ushort packetId => (int)Enums.Packets.PlayerReady;
public bool IsReady { get; set; }
public override void HandlePacketServer()
{
IsReady = !player.ready;
//SendToAll(KCClient.client.Id);
player.ready = IsReady;
}
public override void HandlePacketClient()
{
player.ready = IsReady;
}
}
}