This commit is contained in:
2025-01-18 17:30:03 +03:00
parent edf90b39c4
commit 2f919e4fd8
45 changed files with 1403 additions and 466 deletions
@@ -19,20 +19,17 @@ namespace Ragon.Protocol
{
public class RagonRoomParameters
{
public string Scene { get; set; }
public int Min { get; set; }
public int Max { get; set; }
public void Serialize(RagonStream buffer)
{
buffer.WriteString(Scene);
buffer.WriteInt(Min);
buffer.WriteInt(Max);
}
public void Deserialize(RagonStream buffer)
{
Scene = buffer.ReadString();
Min = buffer.ReadInt();
Max = buffer.ReadInt();
}