← Packet index

Packet 99

PhotoTransferPacket

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.

Packet datagramWire order
HeaderID 99varuint
0Photo Namestring · variable
1Photo Datastring · variable
2Book IDstring · variable
3Typeuint8 · 1 byte
4Source Typeuint8 · 1 byte
5Owner IDint64 · 8 bytes
6New Photo Namestring · variable

Serialized fields

7 top-level fields
  1. 0Photo Namestring
  2. 1Photo Datastring
  3. 2Book IDstring
  4. 3TypeEnum-as-ValuePhotoTypeas uint8
    1. 0Portfolio
    2. 1PhotoItem
    3. 2Book
  5. 4Source TypeEnum-as-ValuePhotoTypeas uint8
    1. 0Portfolio
    2. 1PhotoItem
    3. 2Book
  6. 5Owner IDint64
  7. 6New Photo Namestring

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.