milimoe b73b37c45e
DataRequest、GameModule相关优化 (#82)
* 使基于HTTPClient的DataRequest能够收到回复;添加了适用于Gaming的DataRequest;优化了加载器的加载逻辑;依赖集合的优化

* 执行代理清理;优化模组模板

* 删除GamingEvent无用的事件;删除result哈希表;删除无用的Item/Skill类;GameModuleLoader优化
2024-08-03 04:10:34 +08:00

25 lines
645 B
C#

using Milimoe.FunGame.Core.Interface.Entity;
using Milimoe.FunGame.Core.Library.Constant;
namespace Milimoe.FunGame.Core.Entity
{
public class Skill : BaseEntity, IActiveEnable
{
public string Describe { get; set; } = "";
public char Key { get; set; }
public bool Active { get; set; }
public bool Enable { get; set; }
public MagicType MagicType { get; set; }
internal Skill(bool active = false)
{
Active = active;
}
public override bool Equals(IBaseEntity? other)
{
return other is Skill c && c.Name == Name;
}
}
}