v0.13.8

C_PhotoSharing

namespaceavailable in: camelot

Status in wowlua

11 functions: 0 implemented, 1 recorded, 10 guessed. 5 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
BeginAuthorizationFlowStarts authorizing the game to share screenshots with a photo sharing service. · by wowlua
()
guessed
ClearAuthorizationRemoves the authorization to share screenshots with the photo sharing service. · by wowlua
()
guessed
CompleteAuthorizationFlowFinishes authorizing the photo sharing service. · by wowlua
(callbackURL: string)
guessed
GetCropRatioReturns the aspect ratio shared screenshots are cropped to. · by wowlua
(): number
guessed
GetPhotoSharingAuthURLReturns the URL where the player authorizes photo sharing. · by wowlua
(): string
guessed
GetStatusReturns the state of photo sharing. · by wowlua
(): PhotoSharingStatus
guessed
IsAuthorizedWhether the game is authorized to share screenshots with the photo sharing service. · by wowlua
(): boolean
guessed
IsEnabledWhether photo sharing is enabled. · by wowlua
(): boolean
recorded
SetScreenshotPreviewTextureShows the preview of the screenshot to share in the given texture. · by wowlua
(textureObject: Texture)
guessed
TakePhotoTakes a screenshot to share. · by wowlua
()
guessed
UploadPhotoToServiceUploads the taken screenshot to the photo sharing service. · by wowlua
(optionalTitle: string, optionalDescription: string)
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
PHOTO_SHARING_AUTHORIZATION_NEEDEDno payloadnot implemented
PHOTO_SHARING_AUTHORIZATION_UPDATEDshowNotification: booleannot implemented
PHOTO_SHARING_PHOTO_UPLOAD_STATUSuploadStatus: PhotoSharingUploadStatusnot implemented
PHOTO_SHARING_SCREENSHOT_READYno payloadnot implemented
PHOTO_SHARING_THIRD_PARTY_AUTHORIZATION_NEEDEDauthUrl: stringnot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("PHOTO_SHARING_AUTHORIZATION_NEEDED").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PhotoSharingUI system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.