~ruther/NosSmooth

ref: 8ab46d37e63a6537d6a4f3ccd429a84a97cc9aaa NosSmooth/Core/NosSmooth.Game/Data/Chat/Friend.cs -rw-r--r-- 844 bytes
8ab46d37 — František Boháček feat(game): put friends, group, inventory, skills in Game instead of Character 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
//
//  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.

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