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

26 lines
734 B
C#
Raw Permalink 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,
2024-02-24 12:23:00 +00:00
SummonSkillId = SummonSkillId,
2024-02-17 20:09:49 +00:00
}
};
}