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

26 lines
733 B
C#
Raw Normal View History

2024-02-17 20:09:49 +00:00
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
}
};
}