mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-20 01:46:21 +00:00
16 lines
392 B
C#
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();
|
|
}
|