GetInteractionType
ESO Lua API function — used by 69 of the 3,030 addons we indexed (combined 39,588,929 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetInteractionType()Returns: interactType
Real usage — from Dolgubon's Lazy Writ Crafter
end
if GetInteractionType()~=INTERACTION_BANK and GetInteractionType() == INTERACTION_CONVERSATION then
for i= 1, GetChatterOptionCount() doShort excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| HarvestMap | 9,454,533 |
| Lost Treasure | 6,404,899 |
| AwesomeGuildStore | 4,722,462 |
| Daily Provisioning | 1,544,059 |
| Daily Alchemy | 1,434,977 |