]>
Dogcows Code - chaz/thecheat/blob - ServerChild.h
3 * The Cheat - The legendary universal game trainer for Mac OS X.
4 * http://www.dogcows.com/chaz/wiki/TheCheat
6 * Copyright (c) 2003-2010, Charles McGarvey et al.
8 * Distributable under the terms and conditions of the 2-clause BSD
9 * license; see the file COPYING for the legal text of the license.
12 #import <Cocoa/Cocoa.h>
17 #import "LocalCheater.h"
23 @interface ServerChild
: NSObject
< CheaterDelegate
>
28 LocalCheater
*_cheater
;
30 /* the current packet being read. */
31 TCPacketHeader _header
;
37 - (id
)initWithSocket
:(MySocket
*)sock
;
38 - (id
)initWithSocket
:(MySocket
*)sock delegate
:(id
)delegate
;
41 - (NSString
*)transfer
;
44 - (void)setDelegate
:(id
)delegate
;
49 @interface
NSObject ( ServerChildDelegate
)
51 // informs the cheat server of connection status
52 - (void)serverChildConnected
:(ServerChild
*)theChild
;
53 - (void)serverChildDisconnected
:(ServerChild
*)theChild
;
55 // inform the cheat server something about the child changed.
56 - (void)serverChildChanged
:(ServerChild
*)theChild
;
This page took 0.04024 seconds and 5 git commands to generate.