WoW:API GetSelectedStationeryTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page API GetSelectedStationeryTexture to API GetSelectedStationeryTexture without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < GetSelectedStationeryTexture


Gets the selected stationery texture.

local texture = GetSelectedStationeryTexture()


Arguments[edit]

None


Returns[edit]

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


Details[edit]

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"