using System.Collections.Generic; using MongoDB.Bson.Serialization.Attributes; namespace ET.Server { [ChildOf(typeof(HeroComponent))] public class Hero : Entity, IAwake { [BsonElement] public int ConfigId { get; set; } [BsonElement] public int Level { get; set; } = 1; [BsonElement] public long Exp { get; set; } [BsonElement] public int Star { get; set; } = 1; [BsonElement] public long StarExp { get; set; } [BsonElement] public List Skills { get; set; } = new() { 1, 1, 1, 1, 0 }; [BsonElement] public Dictionary EquipSlots { get; set; } = new(); [BsonElement] public bool MaxLevelAudited { get; set; } [BsonElement] public bool MaxSkillAudited { get; set; } } }