feat: add combat and deleveling AI

This commit is contained in:
Иванов Иван
2024-08-15 17:23:24 +02:00
parent bdd026519f
commit 2943f7a50b
79 changed files with 61368 additions and 6746 deletions

View 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; }
}
}

View 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();
}
}

View 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; }
}
}

View File

@@ -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();
}
}

View 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; } = "";
}
}

View 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; }
}
}

View 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();
}
}