Files
Reactor/Reactor.Debugger/AutoJoin/Messages/IMessage.cs
T
2024-03-02 13:02:53 +01:00

16 lines
392 B
C#

#pragma warning disable CA2252 // TODO Remove after BepInEx updates the .NET version
using System.IO;
namespace Reactor.Debugger.AutoJoin.Messages;
internal interface IMessage<TSelf> where TSelf : IMessage<TSelf>
{
static abstract MessageType Type { get; }
void Serialize(BinaryWriter writer);
static abstract TSelf Deserialize(BinaryReader reader);
string ToString();
}