---@class WB_RunMapPanel_C:UUserWidget ---@field Button_Break UNewButton ---@field Button_Reset UNewButton ---@field TextBlock_Time UTextBlock --Edit Below-- local WB_RunMapPanel = { bInitDoOnce = false; }; function WB_RunMapPanel:Construct() WidgetLibrary.TextBlockBindingPropertyText(self.TextBlock_Time, self.UpdateTime, self) WidgetLibrary.BindButtonClicked(self.Button_Break, self.NotifyToPlaceMode, self) WidgetLibrary.BindButtonClicked(self.Button_Reset, self.NotifyToRerun, self) end function WB_RunMapPanel:UpdateTime() return tostring(UGCGameSystem.GameState:GetGameTime()) end function WB_RunMapPanel:NotifyToPlaceMode() UGCSendRPCSystem.RPCEvent(nil, EventEnum.BackToPlaceMode) end function WB_RunMapPanel:NotifyToRerun() UGCSendRPCSystem.RPCEvent(nil, EventEnum.RerunNowRound) end -- function WB_RunMapPanel:Tick(MyGeometry, InDeltaTime) -- end -- function WB_RunMapPanel:Destruct() -- end return WB_RunMapPanel;