JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SharePlayManager.h File Reference

The local multiplayer ("share play" / versus) session manager. More...

import <Foundation/Foundation.h>
import <MultipeerConnectivity/MultipeerConnectivity.h>
Include dependency graph for SharePlayManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <SharePlayManagerDelegate>
 Delegate through which a SharePlayManager reports discovery, connection, data-transfer, and gameplay-result events. More...
class  SharePlayManager
 Manages a two-peer MultipeerConnectivity session for shared ("versus") play. More...

Detailed Description

The local multiplayer ("share play" / versus) session manager.

Reconstructed from Ghidra program Jubeat (class SharePlayManager, image base 0x100000000). All

Ghidra address:
values are offsets relative to that image base.

SharePlayManager wraps Apple's MultipeerConnectivity. In host mode it advertises the jubeatplus1 service and, once a client connects, runs a small clock-synchronisation handshake, streams the chart's music data over an NSOutputStream, and exchanges score and end-of-play result data. In client mode it browses for a host, requests connection, receives the music data, and reports its own results back. Every message is an NSKeyedArchiver-serialised NSDictionary keyed by dataType (a message-type tag) and sendData (the payload).