mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 00:56:19 +02:00
Reorganize project structure
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using RemSox.Shared.UI.GUI.Rendering;
|
||||
using RemSox.Shared.Networking;
|
||||
|
||||
namespace RemSox.Kernel.UI.GUI.Rendering;
|
||||
|
||||
public sealed class NetworkRenderSource(TcpRpcServer server) : IRenderSource
|
||||
{
|
||||
private const string MessageType = "RenderCmd";
|
||||
|
||||
public void Render(IEnumerable<RenderCommand> commands)
|
||||
{
|
||||
foreach (RenderCommand cmd in commands)
|
||||
{
|
||||
byte[] data = cmd.ToBytes();
|
||||
server.SendRawToAll(MessageType, data);
|
||||
}
|
||||
}
|
||||
|
||||
public void Composite()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user