| | |
| | | |
| | | RoomButton curBtn = new RoomButton(0,0); |
| | | |
| | | foreach (var room in Common.Room.CurrentRoom.GetRoomsByFloorIdAppendLoveRoom(floorId)) |
| | | foreach (var room in UserCenter.HdlRoomLogic.Current.GetRoomsByFloorIdAppendLoveRoom(floorId)) |
| | | { |
| | | var row = new FrameLayout() |
| | | { |
| | |
| | | public void RefreshScene(Common.Room room) |
| | | { |
| | | functionSceneBodyView.RemoveAll(); |
| | | var sceneList = room.SceneUIList; |
| | | var sceneList = room.ListSceneId; |
| | | if (sceneList.Count == 0) |
| | | { |
| | | ShowNoSceneTip(); |
| | |
| | | |
| | | for (int i = 0; i < sceneList.Count; i++) |
| | | { |
| | | var scene = sceneList[i]; |
| | | if (currentSceneUI?.Id == scene.Id) |
| | | var scene = UserCenter.HdlSceneLogic.Current.GetSceneUIBySceneId(sceneList[i]); |
| | | if (scene == null || currentSceneUI?.Id == scene.Id) |
| | | { |
| | | continue; |
| | | } |