1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 08:55:12 +00:00
Files
bedrock-protocol-docs/json/ShowStoreOfferPacket.json

72 lines
2.5 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3443975977",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"3505766602": {
"title": "ShowStoreOfferPacketPayload",
"type": "object",
"properties": {
"Offer Id": {
"description": "The offer Id tells which offer to look up when navigating to a marketplace or dressing room.",
"$ref": "#/definitions/1616419299",
"x-ordinal-index": 0
},
"Redirect Type": {
"title": "ShowStoreOfferRedirectType",
"description": "The redirect type determines which page to navigate to.",
"type": "string",
"enum": [
"MarketplaceOffer",
"DressingRoomOffer",
"ThirdPartyServerPage"
],
"x-underlying-type": "uint8",
"x-serialization-options": [
"EnumAsValue"
],
"x-ordinal-index": 1
}
},
"required": [
"Offer Id",
"Redirect Type"
]
},
"1616419299": {
"title": "mce::UUID",
"type": "object",
"properties": {
"Least Significant Bits": {
"type": "integer",
"x-underlying-type": "uint64",
"x-ordinal-index": 1
},
"Most Significant Bits": {
"type": "integer",
"x-underlying-type": "uint64",
"x-ordinal-index": 0
}
},
"required": [
"Least Significant Bits",
"Most Significant Bits"
]
}
},
"title": "ShowStoreOfferPacket",
"description": "Used for redirecting a user to the right offer.",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/3505766602",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 91,
"[cereal:packet_details]": "The server can redirect the user to a 3rd party server page, to a marketplace offer description page, or to a dressing room page containing desired offer."
}
}