using System.Collections.Generic; using MongoDB.Bson.Serialization.Attributes; namespace ET.Server { [ComponentOf(typeof(Player))] public class HeroComponent : Entity, IAwake, IDestroy { [BsonElement] public Dictionary> HeroMap = new(); } }