//
// GroupMember.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.Game.Data.Info;
using NosSmooth.Packets.Enums.Players;
namespace NosSmooth.Game.Data.Social;
///
/// A member of a group the character is in.
///
/// The id of the group member player.
public record GroupMember(long PlayerId)
{
///
/// Gets the level of the member.
///
public byte Level { get; internal set; }
///
/// Gets the hero level of the member.
///
public byte? HeroLevel { get; internal set; }
///
/// Gets the name of the member.
///
public string? Name { get; internal set; }
///
/// Gets the class of the member.
///
public PlayerClass Class { get; internal set; }
///
/// Gets the sex of the member.
///
public SexType Sex { get; internal set; }
///
/// Gets the morph vnum of the player.
///
public int? MorphVNum { get; internal set; }
///
/// Gets the hp of the member.
///
public Health? Hp { get; internal set; }
///
/// Gets the mp of the member.
///
public Health? Mp { get; internal set; }
///
/// Gets the effects of the member.
///
public IReadOnlyList? EffectsVNums { get; internal set; }
}