WoW API: GetSelectedStationeryTexture

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetSelectedStationeryTexture to API GetSelectedStationeryTexture without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetSelectedStationeryTexture


Gets the selected stationery texture.

local texture = GetSelectedStationeryTexture()


Arguments

None


Returns

texture
String - The path to the selected stationery's texture.


Details

Not yet fully implemented. Currently it returns "STATIONERYTEST" when the mailbox is open.
It is used to generate a mail background when you want to send a mail to someone, the file "Interface\Stationery\STATIONERYTEST1.blp" is the background (left side) and "Interface\Stationery\STATIONERYTEST2.blp" on the right side. The system is simple, the string returned will be used to find the background image your mail will get.
All files in the Stationery directory go like this: "Interface\Stationery\<string>1.blp"