33 |
@class HgPlayer; |
@class HgPlayer; |
34 |
@class HgPlayerState; |
@class HgPlayerState; |
35 |
|
|
36 |
|
@class NetConnection; |
37 |
@class NetParty; |
@class NetParty; |
38 |
|
|
39 |
@interface NetInfosClient : NSObject <NetInfosClient> |
@interface NetInfosClient : NSObject <NetInfosClient> |
40 |
{ |
{ |
41 |
@private |
@private |
42 |
|
NetConnection *_connection; |
43 |
NSDistantObject<NetClient> *_proxy; |
NSDistantObject<NetClient> *_proxy; |
44 |
NetParty *_party; |
NetParty *_party; |
45 |
BOOL _isAdministrator; |
BOOL _isAdministrator; |
48 |
} |
} |
49 |
|
|
50 |
- (id) initWithParty: (NetParty *)party |
- (id) initWithParty: (NetParty *)party |
51 |
withProxy: (NSDistantObject<NetClient> *)proxy |
withConnection: (NetConnection *)connection |
52 |
playerName: (NSString *)name; |
playerName: (NSString *)name; |
53 |
- (BOOL) isAdministrator; |
- (BOOL) isAdministrator; |
54 |
- (void) setAdministrator: (BOOL)flag; |
- (void) setAdministrator: (BOOL)flag; |