Misc replay related engine changes (#3508)

This commit is contained in:
Leon Friedrich
2022-11-28 14:11:44 +13:00
committed by GitHub
parent c34cbcdfa7
commit f856ac0efa
13 changed files with 161 additions and 95 deletions

View File

@@ -392,6 +392,14 @@ namespace Robust.UnitTesting
channel.OtherChannel.TryWrite(new DataMessage(message, channel.RemoteUid));
}
public void DispatchLocalNetMessage(NetMessage message)
{
if (_callbacks.TryGetValue(message.GetType(), out var callback))
{
callback(message);
}
}
private sealed class IntegrationNetChannel : INetChannel
{
private readonly IntegrationNetManager _owner;