WutheringWaves/GameServer/Systems/Entity/Component/EntitySummonerComponent.cs
2024-02-24 15:23:00 +03:00

25 lines
734 B
C#

using Protocol;
namespace GameServer.Systems.Entity.Component;
internal class EntitySummonerComponent : EntityComponentBase
{
public int SummonConfigId { get; set; }
public ESummonType SummonType { get; set; }
public long SummonerId { get; set; }
public int PlayerId { get; set; }
public int SummonSkillId { get; set; }
public override EntityComponentType Type => EntityComponentType.Summoner;
public override EntityComponentPb Pb => new()
{
SummonerComponent = new()
{
SummonCfgId = SummonConfigId,
Type = (int)SummonType,
SummonerId = SummonerId,
PlayerId = PlayerId,
SummonSkillId = SummonSkillId,
}
};
}