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

22 lines
485 B
C#

using Protocol;
namespace GameServer.Systems.Entity.Component;
internal class EntityEquipComponent : EntityComponentBase
{
public int WeaponId { get; set; }
public EntityEquipComponent()
{
// EntityEquipComponent.
}
public override EntityComponentType Type => EntityComponentType.Equip;
public override EntityComponentPb Pb => new()
{
EquipComponent = new EquipComponentPb
{
WeaponId = WeaponId
}
};
}