Initial commit: Client Doc docs Server Tools
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace XWorld.Server.Gateway.Tests
|
||||
{
|
||||
internal sealed class FakeConnection : IClientConnection
|
||||
{
|
||||
public int PlayerId { get; }
|
||||
public List<byte[]> Sent { get; } = new List<byte[]>();
|
||||
public FakeConnection(int playerId) { PlayerId = playerId; }
|
||||
public void Send(byte[] frame) => Sent.Add(frame);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user