Back to Home
ESO Function Data v100025
AddFurnitureListKeybind()
Function Aliases
- No known aliases for this function.
Global Function Definitions
Local Function Definitions
- No known local definitions for this function.
Function Calls
- ingame/housingeditor/gamepad/housingfurnitureplacement_gamepad.lua:20 -- self:AddFurnitureListKeybind(
-- Primary
{
name = GetString(SI_HOUSING_EDITOR_PLACE),
keybind = "UI_SHORTCUT_PRIMARY",
callback = function()
local targetData = self.furnitureList.list:GetTargetData()
if targetData then
local furnitureObject = targetData.furnitureObject
ZO_HousingFurnitureBrowser_Base.SelectFurnitureForPlacement(furnitureObject)
SCENE_MANAGER:HideCurrentScene()
end
end,
}
)
- ingame/housingeditor/gamepad/housingfurnitureproducts_gamepad.lua:23 -- self:AddFurnitureListKeybind(
{
name = GetString(SI_HOUSING_FURNITURE_BROWSER_PURCHASE_KEYBIND),
keybind = "UI_SHORTCUT_PRIMARY",
callback = function()
local targetData = self.furnitureList.list:GetTargetData()
if targetData then
local furnitureObject = targetData.furnitureObject
local IS_PURCHASE = false
RequestPurchaseMarketProduct(furnitureObject.marketProductId, furnitureObject.presentationIndex, IS_PURCHASE)
end
end,
enabled = function()
local targetData = self.furnitureList.list:GetTargetData()
if targetData == nil then
return false
else
local furnitureObject = targetData.furnitureObject
if not furnitureObject:CanBePurchased() then
local expectedPurchaseResult = CouldPurchaseMarketProduct(furnitureObject.marketProductId, furnitureObject.presentationIndex)
return false, GetString("SI_MARKETPURCHASABLERESULT", expectedPurchaseResult)
end
end
return true
end,
}
)
- ingame/housingeditor/gamepad/housingfurnitureproducts_gamepad.lua:53 -- self:AddFurnitureListKeybind(
{
name = GetString(SI_HOUSING_FURNITURE_BROWSER_GIFT_KEYBIND),
keybind = "UI_SHORTCUT_RIGHT_STICK",
visible = function()
local targetData = self.furnitureList.list:GetTargetData()
if targetData then
local furnitureObject = targetData.furnitureObject
return IsMarketProductGiftable(furnitureObject.marketProductId, furnitureObject.presentationIndex)
end
return false
end,
callback = function()
local targetData = self.furnitureList.list:GetTargetData()
if targetData then
local furnitureObject = targetData.furnitureObject
local IS_GIFT = true
RequestPurchaseMarketProduct(furnitureObject.marketProductId, furnitureObject.presentationIndex, IS_GIFT)
end
end,
}
)
- ingame/housingeditor/gamepad/housingfurnitureproducts_gamepad.lua:78 -- self:AddFurnitureListKeybind(buyCrownsKeybind)
- ingame/housingeditor/gamepad/housingfurnitureretrieval_gamepad.lua:20 -- self:AddFurnitureListKeybind({
name = GetString(SI_HOUSING_EDITOR_MODIFY),
keybind = "UI_SHORTCUT_PRIMARY",
callback = function()
local targetData = self.furnitureList.list:GetTargetData()
ZO_HousingFurnitureBrowser_Base.SelectFurnitureForReplacement(targetData.furnitureObject)
SCENE_MANAGER:HideCurrentScene()
end,
})
- ingame/housingeditor/gamepad/housingfurnitureretrieval_gamepad.lua:30 -- self:AddFurnitureListKeybind({
name = GetString(SI_HOUSING_EDITOR_PUT_AWAY),
keybind = "UI_SHORTCUT_SECONDARY",
callback = function()
local targetData = self.furnitureList.list:GetTargetData()
ZO_HousingFurnitureBrowser_Base.PutAwayFurniture(targetData.furnitureObject)
end,
})
- ingame/housingeditor/gamepad/housingfurnitureretrieval_gamepad.lua:39 -- self:AddFurnitureListKeybind({
name = GetString(SI_WORLD_MAP_ACTION_SET_PLAYER_WAYPOINT),
keybind = "UI_SHORTCUT_RIGHT_STICK",
callback = function()
local targetData = self.furnitureList.list:GetTargetData()
SHARED_FURNITURE:SetPlayerWaypointTo(targetData.furnitureObject)
end,
})