feat: add combat and deleveling AI
This commit is contained in:
13
Client/Domain/Helpers/ItemInfo.cs
Normal file
13
Client/Domain/Helpers/ItemInfo.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Helpers
|
||||
{
|
||||
public class ItemInfo : ObjectInfo
|
||||
{
|
||||
public bool IsShot { get; internal set; }
|
||||
}
|
||||
}
|
13
Client/Domain/Helpers/ItemInfoHelperInterface.cs
Normal file
13
Client/Domain/Helpers/ItemInfoHelperInterface.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Helpers
|
||||
{
|
||||
public interface ItemInfoHelperInterface
|
||||
{
|
||||
List<ItemInfo> GetAllItems();
|
||||
}
|
||||
}
|
15
Client/Domain/Helpers/NpcInfo.cs
Normal file
15
Client/Domain/Helpers/NpcInfo.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Helpers
|
||||
{
|
||||
public class NpcInfo : ObjectInfo
|
||||
{
|
||||
public uint Level { get; internal set; }
|
||||
public uint AggroRadius { get; internal set; }
|
||||
public bool IsGuard { get; internal set; }
|
||||
}
|
||||
}
|
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static Client.Infrastructure.Helpers.ConfigurationNpcInfoHelper;
|
||||
|
||||
namespace Client.Domain.Helpers
|
||||
{
|
||||
@@ -10,5 +11,6 @@ namespace Client.Domain.Helpers
|
||||
{
|
||||
uint GetLevel(uint id);
|
||||
uint GetAggroRadius(uint id);
|
||||
List<NpcInfo> GetAllNpc();
|
||||
}
|
||||
}
|
||||
|
14
Client/Domain/Helpers/ObjectInfo.cs
Normal file
14
Client/Domain/Helpers/ObjectInfo.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Helpers
|
||||
{
|
||||
public class ObjectInfo
|
||||
{
|
||||
public uint Id { get; internal set; }
|
||||
public string Name { get; internal set; } = "";
|
||||
}
|
||||
}
|
13
Client/Domain/Helpers/SkillInfo.cs
Normal file
13
Client/Domain/Helpers/SkillInfo.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Helpers
|
||||
{
|
||||
public class SkillInfo : ObjectInfo
|
||||
{
|
||||
public bool IsActive { get; internal set; }
|
||||
}
|
||||
}
|
13
Client/Domain/Helpers/SkillInfoHelperInterface.cs
Normal file
13
Client/Domain/Helpers/SkillInfoHelperInterface.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Domain.Helpers
|
||||
{
|
||||
public interface SkillInfoHelperInterface
|
||||
{
|
||||
Dictionary<uint, SkillInfo> GetAllSkills();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user