// // MlInfoPacket.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.Packets.Enums; using NosSmooth.PacketSerializer.Abstractions.Attributes; using NosSmooth.PacketSerializer.Abstractions.Common; namespace NosSmooth.Packets.Server.Miniland; /// /// Miniland info packet. For miniland owned by the playing character. /// /// The id of the music. 3800 by default. /// The points of the miniland. /// Unknown TODO. /// The number of daily visits. /// The number of total visits. /// Unknown TODO. /// The state of the miniland. /// The name of the miniland music. /// The welcome message. [PacketHeader("mlinfo", PacketSource.Server)] [GenerateSerializer(true)] public record MlInfoPacket ( [PacketIndex(0)] short MinilandMusicId, [PacketIndex(1)] long MinilandPoints, [PacketIndex(2)] byte Unknown, [PacketIndex(3)] int DailyVisitCount, [PacketIndex(4)] int VisitCount, [PacketIndex(5)] byte Unknown1, [PacketIndex(6)] MinilandState MinilandState, [PacketIndex(7)] NameString MinilandMusicName, [PacketGreedyIndex(8)] string MinilandMessage ) : IPacket;