From eb9e3fad84274b3340ec15cecb5d4d00623614e7 Mon Sep 17 00:00:00 2001 From: rtw1x1 Date: Fri, 26 Dec 2025 16:09:51 +0000 Subject: [PATCH] Update ui.py --- assets/root/ui.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/assets/root/ui.py b/assets/root/ui.py index 17ddcf0e..befb39c2 100644 --- a/assets/root/ui.py +++ b/assets/root/ui.py @@ -1377,6 +1377,18 @@ class SlotWindow(Window): def SetSlotCoolTime(self, slotIndex, coolTime, elapsedTime = 0.0): wndMgr.SetSlotCoolTime(self.hWnd, slotIndex, coolTime, elapsedTime) + def StoreSlotCoolTime(self, key, slotIndex, coolTime, elapsedTime = 0.0): + wndMgr.StoreSlotCoolTime(self.hWnd, key, slotIndex, coolTime, elapsedTime) + + def RestoreSlotCoolTime(self, key): + wndMgr.RestoreSlotCoolTime(self.hWnd, key) + + def TransferSlotCoolTime(self, slotIndex1, slotIndex2): + wndMgr.TransferSlotCoolTime(self.hWnd, slotIndex1, slotIndex2) + + def ClearSlotCoolTime(self, slotIndex): + wndMgr.ClearSlotCoolTime(self.hWnd, slotIndex) + def DisableSlot(self, slotIndex): wndMgr.DisableSlot(self.hWnd, slotIndex)