using Milimoe.FunGame.Core.Library.Constant;
namespace Milimoe.FunGame.Core.Entity
{
///
/// 角色的一些个人信息
///
///
///
///
public class CharacterProfile(string name, string firstname, string nickname)
{
///
/// 角色的姓
///
public string Name { get; set; } = name;
///
/// 角色的名字
///
public string FirstName { get; set; } = firstname;
///
/// 角色的昵称
///
public string NickName { get; set; } = nickname;
///
/// 角色的出生地
///
public string Birthplace { get; set; } = "";
///
/// 角色的出生日期
///
public DateTime Birthday { get; set; } = General.DefaultTime;
///
/// 角色的身份
///
public string Status { get; set; } = "";
///
/// 角色的隶属
///
public string Affiliation { get; set; } = "";
///
/// 角色的性别
///
public string Sex { get; set; } = "";
///
/// 角色的身高
///
public string Height { get; set; } = "";
///
/// 角色的体重
///
public string Weight { get; set; } = "";
///
/// 角色的故事
///
public Dictionary Stories { get; set; } = [];
///
/// 复制一个角色资料
///
///
public CharacterProfile Copy()
{
return new(Name, FirstName, NickName)
{
Birthplace = Birthplace,
Birthday = Birthday,
Status = Status,
Affiliation = Affiliation,
Sex = Sex,
Height = Height,
Weight = Weight,
Stories = new(Stories)
};
}
}
}