Store the offline session ID in native replay metadata. Match the battle report to its recording and reuse the native player, queue check, and return flow. Verified TypeScript, GUI and executable patch checks on 2.61.0.37 and 2.61.0.43, and a temporary 2.61.0.43 build. In-game verification is pending.
31 lines
843 B
JSON
31 lines
843 B
JSON
// Find playable local replays by the battle ID stored in their metadata.
|
|
// The battle log needs the client's replay catalog and local playback entry point.
|
|
// Without this lookup, the local battle record cannot open a validated replay.
|
|
{
|
|
"id": "battle/play-local-battle-replay",
|
|
"title": "Find recorded local battles and use the native replay player",
|
|
"features": [
|
|
"M-Replays"
|
|
],
|
|
"variants": [
|
|
{
|
|
"written_for": "2.61.0.37",
|
|
"file": "scripts/replays/replayscreen.nut",
|
|
"edits": [
|
|
{
|
|
"find": "find-lookup.nut",
|
|
"replace": "replace-lookup.nut"
|
|
},
|
|
{
|
|
"find": "find-playback.nut",
|
|
"replace": "replace-playback.nut"
|
|
},
|
|
{
|
|
"find": "find-exports.nut",
|
|
"replace": "replace-exports.nut"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|