2024-02-12 20:15:14 +00:00
|
|
|
|
using Protocol;
|
|
|
|
|
|
|
|
|
|
namespace GameServer.Systems.Entity.Component;
|
|
|
|
|
internal class EntityFsmComponent : EntityComponentBase
|
|
|
|
|
{
|
|
|
|
|
public List<DFsm> Fsms { get; } = [];
|
2024-02-20 18:55:17 +00:00
|
|
|
|
public int CommonHashCode { get; set; }
|
2024-02-12 20:15:14 +00:00
|
|
|
|
|
|
|
|
|
public override EntityComponentType Type => EntityComponentType.EntityFsm;
|
|
|
|
|
|
|
|
|
|
public override EntityComponentPb Pb => new()
|
|
|
|
|
{
|
|
|
|
|
EntityFsmComponentPb = new()
|
|
|
|
|
{
|
|
|
|
|
Fsms =
|
|
|
|
|
{
|
|
|
|
|
Fsms
|
2024-02-20 18:55:17 +00:00
|
|
|
|
},
|
|
|
|
|
CommonHashCode = CommonHashCode
|
2024-02-12 20:15:14 +00:00
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|