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

23 lines
528 B
C#
Raw Normal View History

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
},
};
}