JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SessionClass.h
Go to the documentation of this file.
1
20
21#import <Foundation/Foundation.h>
22#import <MultipeerConnectivity/MultipeerConnectivity.h>
23
24NS_ASSUME_NONNULL_BEGIN
25
29@interface SessionClass : NSObject
30
32@property(nonatomic, strong, nullable) MCPeerID *peerID;
34@property(nonatomic) float delayTime;
36@property(nonatomic) float pingTryCnt;
38@property(nonatomic, strong, nullable) NSDate *receiveStartTime;
40@property(nonatomic) float receiveTime;
42@property(nonatomic) int score;
44@property(nonatomic) int finalBonus;
46@property(nonatomic) BOOL finished;
48@property(nonatomic) BOOL fullcombo;
50@property(nonatomic) BOOL dataLoaded;
52@property(nonatomic) BOOL dataReceived;
54@property(nonatomic) BOOL readyToLoad;
56@property(nonatomic) BOOL settledSync;
57
58@end
59
60NS_ASSUME_NONNULL_END
61
62// code: language=Objective-C
63// kate: hl Objective-C;
64// vim: set ft=objc :
The per-peer record a multipeer session keeps.
Definition SessionClass.h:30
BOOL dataLoaded
Whether the peer has finished loading its chart.
Definition SessionClass.h:50
float delayTime
Measured round-trip delay to the peer, in seconds.
Definition SessionClass.h:34
BOOL dataReceived
Whether the peer's data has arrived.
Definition SessionClass.h:52
MCPeerID * peerID
The peer this record describes.
Definition SessionClass.h:32
BOOL fullcombo
Whether the peer achieved a full combo.
Definition SessionClass.h:48
NSDate * receiveStartTime
When the current receive began.
Definition SessionClass.h:38
float pingTryCnt
How many pings have been attempted.
Definition SessionClass.h:36
int finalBonus
The peer's end-of-play bonus.
Definition SessionClass.h:44
int score
The peer's score, or -1 before one has been reported.
Definition SessionClass.h:42
float receiveTime
How long the last receive took, in seconds.
Definition SessionClass.h:40
BOOL readyToLoad
Whether the peer is ready to begin loading.
Definition SessionClass.h:54
BOOL finished
Whether the peer has finished playing.
Definition SessionClass.h:46
BOOL settledSync
Whether clock synchronisation with the peer has settled.
Definition SessionClass.h:56