13 lines
296 B
C#

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