~ruther/NosSmooth

ref: 0f1e903964594a97c4639735fc64424f712f3683 NosSmooth/Core/NosSmooth.Game/Data/Chat/Friend.cs -rw-r--r-- 881 bytes
0f1e9039 — František Boháček feat: implement character and player properties 3 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
//
//  Friend.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 NosCore.Packets.Enumerations;

namespace NosSmooth.Game.Data.Chat;

/// <summary>
/// Represents character's friend.
/// </summary>
public class Friend
{
    /// <summary>
    /// The id of the character.
    /// </summary>
    public long CharacterId { get; internal set; }

    /// <summary>
    /// The type of the relation.
    /// </summary>
    public CharacterRelationType RelationType { get; internal set; }

    /// <summary>
    /// The name of the character.
    /// </summary>
    public string? CharacterName { get; internal set; }

    /// <summary>
    /// Whether the friend is connected to the server.
    /// </summary>
    public bool IsOnline { get; internal set; }
}
Do not follow this link