From f55fda4c867971d59c1ab110236b8202bda683f1 Mon Sep 17 00:00:00 2001 From: milimoe Date: Wed, 30 Jul 2025 23:23:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E7=9A=84=E6=88=BF=E9=97=B4=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Entity/System/Room.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Entity/System/Room.cs b/Entity/System/Room.cs index 504e60f..194109d 100644 --- a/Entity/System/Room.cs +++ b/Entity/System/Room.cs @@ -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;