~ruther/NosSmooth

ref: 784037c865418c0ffae6e316d4e3ac6166350b92 NosSmooth/Extensions/NosSmooth.Extensions.Pathfinding/PathfinderState.cs -rw-r--r-- 933 bytes
784037c8 — Rutherther fix(game): make effects vnum short instead of long 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
36
37
//
//  PathfinderState.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.Core.Client;
using NosSmooth.Core.Stateful;
using NosSmooth.Data.Abstractions.Infos;

namespace NosSmooth.Extensions.Pathfinding;

/// <summary>
/// State of the <see cref="Pathfinder"/>.
/// </summary>
public class PathfinderState : IStatefulEntity
{
    /// <summary>
    /// Gets or sets the current map id.
    /// </summary>
    internal int? MapId { get; set; }

    /// <summary>
    /// Gets or sets the current map information.
    /// </summary>
    internal IMapInfo? MapInfo { get; set; }

    /// <summary>
    /// Gets or sets the current x.
    /// </summary>
    internal short X { get; set; }

    /// <summary>
    /// Gets or sets the current y.
    /// </summary>
    internal short Y { get; set; }
}
Do not follow this link