Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Sample
- {
- internal class SampleClass : IModEventHandler, ISlotsController
- {
- public int Priority => 600;
- public void HandleModDisable()
- {
- Mod.Debug(MethodBase.GetCurrentMethod());
- EventBus.Unsubscribe(this);
- }
- public void HandleModEnable()
- {
- EventBus.Subscribe(this);
- }
- public void HandleSlotClick(Kingmaker.UI.ServiceWindow.ItemSlot slot)
- {
- Mod.Debug(MethodBase.GetCurrentMethod());
- Mod.Debug(slot.Item.Blueprint.AssetGuid);
- }
- public void HandleSlotDoubleClick(Kingmaker.UI.ServiceWindow.ItemSlot slot) { }
- public void HandleSlotDragEnd(Kingmaker.UI.ServiceWindow.ItemSlot from, Kingmaker.UI.ServiceWindow.ItemSlot to) { }
- public void HandleSlotDragStart(Kingmaker.UI.ServiceWindow.ItemSlot slot) { }
- public void HandleSlotDrop(Kingmaker.UI.ServiceWindow.ItemSlot slot) { }
- public void HandleSlotHoverEnd(Kingmaker.UI.ServiceWindow.ItemSlot slot) { }
- public void HandleSlotHoverStart(Kingmaker.UI.ServiceWindow.ItemSlot slot) { }
- public void HandleSlotSplit(Kingmaker.UI.ServiceWindow.ItemSlot from, Kingmaker.UI.ServiceWindow.ItemSlot to, int count = 0) { }
- public void HandleSlotsSorted(SlotsGroup slotsGroup) { }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement