From 0bdc0a135dbe31761b53f432ed34f347f0a4e36b Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 05 三月 2020 10:49:41 +0800 Subject: [PATCH] 20200304 --- HDL_ON/Entity/DB_ResidenceData.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs index d7ba290..31c3fb4 100644 --- a/HDL_ON/Entity/DB_ResidenceData.cs +++ b/HDL_ON/Entity/DB_ResidenceData.cs @@ -17,6 +17,12 @@ /// 浣忓畢鍥剧墖 /// </summary> public string residenceImage; + + /// <summary> + /// 妤煎眰鍒楄〃 + /// </summary> + public List<string> floors = new List<string>(); + /// <summary> /// 鎴块棿鍒楄〃 /// </summary> @@ -84,7 +90,7 @@ if (instance.rooms.Count == 0) { //-------------------- - var r111 = new Room() { sid = "0001", name = "Room-1", floor = "1F", backgroundImage = "Classification/Room/Roombg.png" }; + var r111 = new Room() { sid = "0001", name = "Room-1", floorIndex = 1, backgroundImage = "Classification/Room/Roombg.png" }; instance.rooms.Add(r111); instance.functions.aCs.Add(new AC() { -- Gitblit v1.8.0