fix: fix toggle soulshot method
This commit is contained in:
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Entities
|
||||
{
|
||||
public abstract class BaseItem : EntityInterface
|
||||
public abstract class BaseItem
|
||||
{
|
||||
public uint Id { get; set; }
|
||||
public uint ItemId { get; set; }
|
||||
|
@@ -7,11 +7,13 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Entities
|
||||
{
|
||||
public class EtcItem : BaseItem
|
||||
public class EtcItem : BaseItem, ItemInterface
|
||||
{
|
||||
public uint Amount { get => amount; set => amount = value; }
|
||||
public bool IsQuest { get; set; }
|
||||
public bool IsAutoused { get => isAutoused; set => isAutoused = value; }
|
||||
public string FullDescription { get => Description; }
|
||||
|
||||
public EtcItem(uint id, uint itemId, ItemTypeEnum type, string name, string iconName, string description, int mana, uint weight, uint amount, bool isQuest, bool isAutoused) :
|
||||
base(id, itemId, type, name, iconName, description, mana, weight)
|
||||
{
|
||||
|
24
Client/Domain/Entities/ItemInterface.cs
Normal file
24
Client/Domain/Entities/ItemInterface.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Client.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Entities
|
||||
{
|
||||
public interface ItemInterface : EntityInterface
|
||||
{
|
||||
uint ItemId { get; set; }
|
||||
ItemTypeEnum Type { get; set; }
|
||||
string Name { get; set; }
|
||||
string IconName { get; set; }
|
||||
string Description { get; set; }
|
||||
int Mana { get; set; }
|
||||
uint Weight { get; set; }
|
||||
uint Amount { get; set; }
|
||||
bool IsQuest { get; set; }
|
||||
bool IsAutoused { get; set; }
|
||||
string FullDescription { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user