mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Misc replay related engine changes (#3508)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user