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

23 lines
485 B
C#
Raw Permalink Normal View History

2024-02-12 00:23:27 +00:00
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
}
};
}