WutheringWaves/GameServer/Systems/Entity/Component/EntityFsmComponent.cs

22 lines
528 B
C#

using Protocol;
namespace GameServer.Systems.Entity.Component;
internal class EntityFsmComponent : EntityComponentBase
{
public List<DFsm> Fsms { get; } = [];
public int CommonHashCode { get; set; }
public override EntityComponentType Type => EntityComponentType.EntityFsm;
public override EntityComponentPb Pb => new()
{
EntityFsmComponentPb = new()
{
Fsms =
{
Fsms
},
CommonHashCode = CommonHashCode
},
};
}