22 |
*/ |
*/ |
23 |
|
|
24 |
#include <Foundation/NSHost.h> |
#include <Foundation/NSHost.h> |
25 |
#include <Foundation/NSDistantObject.h> |
#include <Foundation/NSString.h> |
26 |
#include <Foundation/NSException.h> |
#include <Foundation/NSException.h> |
27 |
|
|
28 |
#include "Network/NetGameID.h" |
#include "Network/NetGameID.h" |
38 |
* that is already created in a server identified by its host's information. |
* that is already created in a server identified by its host's information. |
39 |
*/ |
*/ |
40 |
- (id) initWithHost: (NSHost *)host |
- (id) initWithHost: (NSHost *)host |
41 |
gameName: (NSString *) gameName |
gameName: (NSString *)gameName |
42 |
numPlayers: (unsigned) numPlayers |
numPlayers: (unsigned)numPlayers |
43 |
maxNumPlayers: (unsigned) maxNumPlayers |
maxNumPlayers: (unsigned)maxNumPlayers |
44 |
mapName: (NSString *) mapName |
mapName: (NSString *)mapName |
45 |
master: (NSString *) master |
master: (NSString *)master |
46 |
{ |
{ |
47 |
NSParameterAssert (host); |
NSParameterAssert (host); |
48 |
NSParameterAssert (gameName); |
NSParameterAssert (gameName); |