25 |
#define NET_GAME_ID_H |
#define NET_GAME_ID_H |
26 |
|
|
27 |
#include <Foundation/NSObject.h> |
#include <Foundation/NSObject.h> |
28 |
|
#include "NetProtocol.h" |
29 |
|
|
30 |
|
@class NSDistantObject; |
31 |
@class NSHost; |
@class NSHost; |
|
@class NetParty; |
|
32 |
|
|
33 |
@interface NetGameID : NSObject |
@interface NetGameID : NSObject |
34 |
{ |
{ |
35 |
@private |
@private |
36 |
NetParty *_party; |
NSDistantObject<NetParty> *_party; |
37 |
NSHost *_host; |
NSHost *_host; |
38 |
} |
} |
39 |
|
|
40 |
- (id) initWithParty: (NetParty *)game |
- (id) initWithParty: (NSDistantObject<NetParty> *)game |
41 |
withHost: (NSHost *)host; |
withHost: (NSHost *)host; |
42 |
- (NetParty *) party; |
- (NSDistantObject<NetParty> *) party; |
43 |
- (NSHost *) host; |
- (NSHost *) host; |
44 |
|
|
45 |
|
|
46 |
@end |
@end |
47 |
|
|
48 |
#endif /* NET_GAME_ID_H */ |
#endif /* NET_GAME_ID_H */ |