mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-12-05 00:06:02 +00:00
添加了默认的房间标识
This commit is contained in:
parent
a181fb653c
commit
f55fda4c86
@ -42,6 +42,11 @@ namespace Milimoe.FunGame.Core.Entity
|
||||
Statistics = new(this);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"[ {Roomid} ] {Name}";
|
||||
}
|
||||
|
||||
public override bool Equals(IBaseEntity? other)
|
||||
{
|
||||
return other is Room r && r.Roomid == Roomid;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user