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