quantum-space-buddies/QSB/Utility/Messages/PacketLossTestMessage.cs
2023-06-11 01:00:27 +01:00

24 lines
570 B
C#

using QSB.Messaging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QSB.Utility.Messages;
internal class PacketLossTestMessage : QSBMessage
{
public override void OnReceiveLocal()
{
DebugActions.TotalMessages += 1;
DebugLog.DebugWrite($"Total test messages sent is now {DebugActions.TotalMessages}");
}
public override void OnReceiveRemote()
{
DebugActions.TotalMessages += 1;
DebugLog.DebugWrite($"Total test messages recieved is now {DebugActions.TotalMessages}");
}
}