Something went wrong. Try again.
Modular scanner/radio client and multi-broadcast server. uniscan.dexrn.me
Something went wrong. Try again.
123456789101112131415161718192021222324using MessagePack;using Shiki.Common.Identity;using UniScan.Network.Data.Info.Software;using UniScan.Network.Protocol.Packets.Clientbound.Remote;using UniScan.Network.Protocol.PayloadPart;using UniScan.Network.Registry;using UniScan.Network.Request;
namespace UniScan.Network.Protocol.Packets.Serverbound.Client;
/// <summary>/// Sent to servers 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./// Servers should be sent this packet before trying to process other packets from clients./// </summary>[RegistryPacket("UniScan", "packet", "serverbound", "client", "software_info")][MessagePackObject][method: RequestConstructor]public readonly partial record struct ClientSoftwareInfoPacket( [property: Key(0)] ClientSoftwareInfo Info, [property: Key(1)] Dictionary<Identifier, ModuleInfo> Modules, [property: Key(2)] Guid? RequestId) : IServerboundPacket, IRequestPayloadPart<ServerSoftwareInfoPacket>;