← Back to Index
PhotoTransferPacket (99)
There is a camera item in EDU and they can use it to take screenshots and add them to a scrapbook.
When the player uses the camera item or adds a photo to the scrapbook it sends the photo to the server,
then the server sends a response back on whether that was successful or not.
Either uploads a photo to the server's photoStorage or request one from it to be stored in client's photoStorage.
If no mPhotoData is provided it is a request for the given filename.
| Field Name |
Type |
Field Index |
Description |
| Photo Name (Required) |
string |
0 |
|
| Photo Data (Required) |
string |
1 |
|
| Book ID (Required) |
string |
2 |
|
| Type (Required) |
uint8 |
3 |
|
Enum Values:
| Index |
Value |
| 0 |
Portfolio |
| 1 |
PhotoItem |
| 2 |
Book |
|
| Source Type (Required) |
uint8 |
4 |
|
Enum Values:
| Index |
Value |
| 0 |
Portfolio |
| 1 |
PhotoItem |
| 2 |
Book |
|
| Owner ID (Required) |
int64 |
5 |
|
| New Photo Name (Required) |
string |
6 |
|