WowAddons

World of Warcraft Forever API · C_PhotoSharing.md, for your AI

C_PhotoSharing

11 functions, 5 events, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_PhotoSharing.BeginAuthorizationFlow

C_PhotoSharing.BeginAuthorizationFlow()

C_PhotoSharing.ClearAuthorization

C_PhotoSharing.ClearAuthorization()

C_PhotoSharing.CompleteAuthorizationFlow

C_PhotoSharing.CompleteAuthorizationFlow(callbackURL)

Arguments

callbackURLcstring

C_PhotoSharing.GetCropRatio

cropRatio = C_PhotoSharing.GetCropRatio()

Returns

cropRationumber

C_PhotoSharing.GetPhotoSharingAuthURL

authUrl = C_PhotoSharing.GetPhotoSharingAuthURL()

Returns

authUrlcstring

C_PhotoSharing.GetStatus

status = C_PhotoSharing.GetStatus()

Returns

statusPhotoSharingStatus

C_PhotoSharing.IsAuthorized

authorized = C_PhotoSharing.IsAuthorized()

Returns

authorizedbool

C_PhotoSharing.IsEnabled

enabled = C_PhotoSharing.IsEnabled()

Returns

enabledbool

C_PhotoSharing.SetScreenshotPreviewTexture

C_PhotoSharing.SetScreenshotPreviewTexture(textureObject)

Arguments

textureObjectSimpleTexture

C_PhotoSharing.TakePhoto

C_PhotoSharing.TakePhoto()

C_PhotoSharing.UploadPhotoToService

C_PhotoSharing.UploadPhotoToService([optionalTitle], [optionalDescription])

Arguments

optionalTitlecstring default ""
optionalDescriptioncstring default ""

Events

PHOTO_SHARING_AUTHORIZATION_NEEDED

No payload.

PHOTO_SHARING_AUTHORIZATION_UPDATED

showNotificationbool

PHOTO_SHARING_PHOTO_UPLOAD_STATUS

uploadStatusPhotoSharingUploadStatus

PHOTO_SHARING_SCREENSHOT_READY

No payload.

PHOTO_SHARING_THIRD_PARTY_AUTHORIZATION_NEEDED

authUrlstring

Dafür brauchst du WowAddons

Kostenlos, für Windows, macOS und Linux: Es packt das Addon mit einem Klick in dein Spiel und hält es aktuell. Öffne es einmal und drück dann nochmal auf Installieren.

WowAddons läuft auf deinem Computer: Öffne wowaddons.gg dort.

Für Windows herunterladen