// // CMapPacket.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NosSmooth.PacketSerializer.Abstractions.Attributes; namespace NosSmooth.Packets.Server.Maps; /// /// Packet sent when map is changed. /// /// The type of the map. /// The id of the map. /// Whether the map is a base map. [PacketHeader("c_map", PacketSource.Server)] [GenerateSerializer(true)] public record CMapPacket ( [PacketIndex(0)] byte Type, [PacketIndex(1)] int Id, [PacketIndex(2)] bool IsBaseType ) : IPacket;