summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUIDragDropItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/UILib/IXUIDragDropItem.cs')
-rw-r--r--Client/Assets/Scripts/UILib/IXUIDragDropItem.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UILib/IXUIDragDropItem.cs b/Client/Assets/Scripts/UILib/IXUIDragDropItem.cs
new file mode 100644
index 00000000..da8856b3
--- /dev/null
+++ b/Client/Assets/Scripts/UILib/IXUIDragDropItem.cs
@@ -0,0 +1,24 @@
+using System;
+using UnityEngine;
+
+namespace UILib
+{
+ public interface IXUIDragDropItem : IXUIObject
+ {
+ void RegisterOnStartEventHandler(OnDropStartEventHandler eventHandler);
+
+ void RegisterOnFinishEventHandler(OnDropReleaseEventHandler eventHandler);
+
+ void SetCloneOnDrag(bool cloneOnDrag);
+
+ void SetRestriction(int restriction);
+
+ void SetParent(Transform parent, bool addPanel = false, int depth = 0);
+
+ void SetActive(bool active);
+
+ OnDropStartEventHandler GetStartEventHandler();
+
+ OnDropReleaseEventHandler GetReleaseEventHandler();
+ }
+}