~ruther/NosSmooth

ref: ecb4ceb20b0dbc5fc4a342415c109ccbb00996ca NosSmooth/Core/NosSmooth.Game/Data/Maps/Miniland.cs -rw-r--r-- 997 bytes
ecb4ceb2 — Rutherther chore: make updates to get rid of warnings 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
//  Miniland.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.Data.Abstractions.Infos;

namespace NosSmooth.Game.Data.Maps;

/// <summary>
/// Represents Miniland map that can contain miniland objects.
/// </summary>
/// <param name="Id">The id of the miniland map.</param>
/// <param name="Type">The type of the miniland map.</param>
/// <param name="Info">The information about the map obtained from data assembly.</param>
/// <param name="Entities">The entities on the map.</param>
/// <param name="Portals">The portals on the map.</param>
/// <param name="Objects">The miniland objects on the map.</param>
public record Miniland
(
    long Id,
    byte Type,
    IMapInfo? Info,
    MapEntities Entities,
    IReadOnlyList<Portal> Portals,
    IReadOnlyList<MinilandObject>? Objects
) : Map
(
    Id,
    Type,
    Info,
    Entities,
    Portals
);
Do not follow this link