feat(wip) room properties

This commit is contained in:
2024-04-14 19:07:48 +03:00
parent d115c98b79
commit accd442388
7 changed files with 55 additions and 8 deletions
+23
View File
@@ -0,0 +1,23 @@
using Ragon.Protocol;
namespace Ragon.Server.Data;
public class RagonData
{
private byte[] _data = Array.Empty<byte>();
public bool IsDirty { get; set; }
public byte[] Data
{
get => _data;
set
{
_data = value;
IsDirty = true;
}
}
public RagonData(byte[] data)
{
_data = data;
}
}