mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +08:00

* 使基于HTTPClient的DataRequest能够收到回复;添加了适用于Gaming的DataRequest;优化了加载器的加载逻辑;依赖集合的优化 * 执行代理清理;优化模组模板 * 删除GamingEvent无用的事件;删除result哈希表;删除无用的Item/Skill类;GameModuleLoader优化
25 lines
603 B
C#
25 lines
603 B
C#
using Milimoe.FunGame.Core.Interface.Entity;
|
|
|
|
namespace Milimoe.FunGame.Core.Entity
|
|
{
|
|
public abstract class BaseEntity : IBaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 实体的数字ID
|
|
/// </summary>
|
|
public virtual long Id { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 实体的唯一ID
|
|
/// </summary>
|
|
public virtual Guid Guid { get; set; } = Guid.Empty;
|
|
|
|
/// <summary>
|
|
/// 实体的名称
|
|
/// </summary>
|
|
public virtual string Name { get; set; } = "";
|
|
|
|
public abstract bool Equals(IBaseEntity? other);
|
|
}
|
|
}
|