Files
Ragon/Ragon.Client/Sources/Handler/RoomDataHandler.cs
T
2024-05-05 15:45:28 +03:00

20 lines
361 B
C#

using Ragon.Protocol;
namespace Ragon.Client
{
public class RoomDataHandler: IHandler
{
private readonly RagonClient _client;
public RoomDataHandler(RagonClient client)
{
_client = client;
}
public void Handle(RagonBuffer reader)
{
var len = reader.ReadUShort();
_client.Room?.Data(reader);
}
}
}