You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
932 B
29 lines
932 B
-- ------------------------------------------------------------------------------ --
|
|
-- TradeSkillMaster --
|
|
-- https://tradeskillmaster.com --
|
|
-- All Rights Reserved - Detailed license information included with addon. --
|
|
-- ------------------------------------------------------------------------------ --
|
|
|
|
local TSM = select(2, ...) ---@type TSM
|
|
local DragContext = TSM.Init("UI.DragContext") ---@class UI.DragContext
|
|
local private = {
|
|
context = nil,
|
|
}
|
|
|
|
|
|
|
|
-- ============================================================================
|
|
-- Module Functions
|
|
-- ============================================================================
|
|
|
|
function DragContext.Get()
|
|
return private.context
|
|
end
|
|
|
|
function DragContext.Set(items)
|
|
private.context = items
|
|
end
|
|
|
|
function DragContext.Clear()
|
|
private.context = nil
|
|
end
|
|
|