using Cal; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; namespace ET { public sealed partial class Character : Entity, ICombatBounds,ISerializeToEntity { [BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)] [BsonDictionaryOptions(Representation = MongoDB.Bson.Serialization.Options.DictionaryRepresentation.ArrayOfArrays)] public Dictionary attribute = new(); [BsonDictionaryOptions(Representation = MongoDB.Bson.Serialization.Options.DictionaryRepresentation.ArrayOfArrays)] public Dictionary pointRecord = new(); [BsonIgnore] public Func getAttributeFunc { get; set; } } }