View Single Post
05/25/21, 12:14 PM   #1
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,993
[open]GetGameCameraInteractableActionInfo() should differ additionalInteractInfo

The 5th return value of the function GetGameCameraInteractableActionInfo() is the additionalInteractInfo.
It currently is able to return the following values:
Code:
ADDITIONAL_INTERACT_INFO_EMPTY = 2
ADDITIONAL_INTERACT_INFO_FISHING_NODE = 3
ADDITIONAL_INTERACT_INFO_HOUSE_BANK = 9
ADDITIONAL_INTERACT_INFO_HOUSE_INSTANCE_DOOR = 11
ADDITIONAL_INTERACT_INFO_INSTANCE_TYPE = 4
ADDITIONAL_INTERACT_INFO_IN_HIDEYHOLE = 8
ADDITIONAL_INTERACT_INFO_LOCKED = 1
ADDITIONAL_INTERACT_INFO_NONE = 0
ADDITIONAL_INTERACT_INFO_PICKPOCKET_CHANCE = 6
ADDITIONAL_INTERACT_INFO_REQUIRES_KEY = 5
ADDITIONAL_INTERACT_INFO_WEREWOLF_ACTIVE_WHILE_ATTEMPTING_TO_CRAFT = 7
ADDITIONAL_INTERACT_INFO_WEREWOLF_ACTIVE_WHILE_ATTEMPTING_TO_EXCAVATE = 10
I'd like to request another split of ADDITIONAL_INTERACT_INFO_LOCKED into:
Code:
ADDITIONAL_INTERACT_INFO_LOCKED_DOOR --Doors
ADDITIONAL_INTERACT_INFO_LOCKED_CHEST --Chests
ADDITIONAL_INTERACT_INFO_LOCKED_<other item name> --<other items> -> Optional
ADDITIONAL_INTERACT_INFO_LOCKED  --All others
If this is possible. This way one would be able to distinguish chests from doors, as this currently is ONLY available via the actionText return value 1.
And the Strings of them like "Chest", "Container", etc. cannt be found somewhere as SI_ String constants in the game So we need to create manual hard coded tables for all languages to distinguish the interactable items.
Either we need the texts as SI_ constants or some better way to distinguish them please.

Many thanks
  Reply With Quote