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

* 添加大量新的枚举,添加缺少的枚举字符串,修改枚举转字符串方法的位置 * 添加StartGame和Gaming的SocketHandler方法 * 添加MainInvokeType.StartGame * 优化代码格式 * 添加默认的User.ToString() * 添加EndGame * 添加GameMode.GetTypeString * 添加GameMode.GetRoomType
14 lines
378 B
C#
14 lines
378 B
C#
using Milimoe.FunGame.Core.Interface.Entity;
|
|
|
|
namespace Milimoe.FunGame.Core.Entity
|
|
{
|
|
public abstract class BaseEntity : IBaseEntity
|
|
{
|
|
public virtual long Id { get; set; } = 0;
|
|
public virtual Guid Guid { get; set; } = Guid.Empty;
|
|
public virtual string Name { get; set; } = "";
|
|
|
|
public abstract bool Equals(IBaseEntity? other);
|
|
}
|
|
}
|