|
JubeatPlus 3.9.11
|
The local multiplayer ("share play" / versus) session manager. More...
import <Foundation/Foundation.h>import <MultipeerConnectivity/MultipeerConnectivity.h>

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... | |
The local multiplayer ("share play" / versus) session manager.
Reconstructed from Ghidra program Jubeat (class SharePlayManager, image base 0x100000000). All
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).