C_PhotoSharing
namespaceavailable in: camelotStatus in wowlua
11 functions: 0 implemented, 1 recorded, 10 guessed. 5 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
BeginAuthorizationFlow | Starts authorizing the game to share screenshots with a photo sharing service. · by wowlua() | guessed |
ClearAuthorization | Removes the authorization to share screenshots with the photo sharing service. · by wowlua() | guessed |
CompleteAuthorizationFlow | Finishes authorizing the photo sharing service. · by wowlua(callbackURL: string) | guessed |
GetCropRatio | Returns the aspect ratio shared screenshots are cropped to. · by wowlua(): number | guessed |
GetPhotoSharingAuthURL | Returns the URL where the player authorizes photo sharing. · by wowlua(): string | guessed |
GetStatus | Returns the state of photo sharing. · by wowlua(): PhotoSharingStatus | guessed |
IsAuthorized | Whether the game is authorized to share screenshots with the photo sharing service. · by wowlua(): boolean | guessed |
IsEnabled | Whether photo sharing is enabled. · by wowlua(): boolean | recorded |
SetScreenshotPreviewTexture | Shows the preview of the screenshot to share in the given texture. · by wowlua(textureObject: Texture) | guessed |
TakePhoto | Takes a screenshot to share. · by wowlua() | guessed |
UploadPhotoToService | Uploads 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
| event | payload | fired by the emulator |
|---|---|---|
PHOTO_SHARING_AUTHORIZATION_NEEDED | no payload | not implemented |
PHOTO_SHARING_AUTHORIZATION_UPDATED | showNotification: boolean | not implemented |
PHOTO_SHARING_PHOTO_UPLOAD_STATUS | uploadStatus: PhotoSharingUploadStatus | not implemented |
PHOTO_SHARING_SCREENSHOT_READY | no payload | not implemented |
PHOTO_SHARING_THIRD_PARTY_AUTHORIZATION_NEEDED | authUrl: string | not 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.