| 
									
										
										
										
											2025-07-13 15:47:08 +08:00
										 |  |  | local WidgetUtils = require("Utils.UI.WidgetUtils") | 
					
						
							|  |  |  | local HearthMain = {} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | function HearthMain:OnInitialized() | 
					
						
							|  |  |  |     self.BtnBack.OnClicked:Add(function() | 
					
						
							|  |  |  |         WidgetUtils.Hide(self, "HearthMain") | 
					
						
							|  |  |  |     end) | 
					
						
							| 
									
										
										
										
											2025-08-01 00:33:26 +08:00
										 |  |  |     self.BtnOpenRecipe.OnClicked:Add(function() | 
					
						
							|  |  |  |         WidgetUtils.Show(self, "RecipeMenu") | 
					
						
							|  |  |  |     end) | 
					
						
							| 
									
										
										
										
											2025-07-13 15:47:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | return Class(nil, nil, HearthMain) |