--- a/project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.h Fri Nov 11 01:18:19 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.h Fri Nov 11 01:40:23 2011 +0100
@@ -32,17 +32,21 @@
id<EngineProtocolDelegate> delegate;
NSOutputStream *stream;
- TCPsocket csd; // Client socket descriptor
+ TCPsocket csd;
+ NSInteger enginePort;
}
@property (nonatomic,assign) id<EngineProtocolDelegate> delegate;
@property (nonatomic,retain) NSOutputStream *stream;
@property (assign) TCPsocket csd;
+@property (assign) NSInteger enginePort;
-(id) init;
--(NSInteger) spawnThread:(NSString *)onSaveFile withOptions:(NSDictionary *)dictionary;
++(void) spawnThread:(NSString *)onSaveFile withOptions:(NSDictionary *)dictionary;
++(NSInteger) activeEnginePort;
+
-(void) engineProtocol:(id) object;
-(void) gameHasEndedWithStats:(NSArray *)stats;