Something went wrong. Try again.
Modular scanner/radio client and multi-broadcast server. uniscan.dexrn.me
Something went wrong. Try again.
123456789101112131415161718192021using MessagePack;using Shiki.Common.Identity;using UniScan.Network.Data.Info.Software;using UniScan.Network.Protocol.PayloadPart;using UniScan.Network.Registry;
namespace UniScan.Network.Protocol.Packets.Clientbound.Remote;
/// <summary>/// Sent to clients so that they can tell whether to disconnect due to version differences.////// Should stay the same throughout versions, attributes are added in the RemoteInfoPacket instead./// Clients should get this packet before getting the RemoteInfoPacket to prevent connecting to an incompatible server./// </summary>[RegistryPacket("UniScan", "packet", "clientbound", "remote", "software_info")][MessagePackObject]public readonly record struct ServerSoftwareInfoPacket( [property: Key(0)] ServerSoftwareInfo Info, [property: Key(1)] Dictionary<Identifier, ModuleInfo> Modules, [property: Key(2)] Guid? RequestId) : IClientboundPacket, IResponsePayloadPart;