-
Notifications
You must be signed in to change notification settings - Fork 1
/
OxsyBasicCommands.h
51 lines (34 loc) · 1.41 KB
/
OxsyBasicCommands.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef __BASICCOMMANDS_H__
#define __BASICCOMMANDS_H__
class COxsyClassPointers;
class COxsyBasicCommands
{
public:
COxsyBasicCommands(COxsyClassPointers *pClassPointers);
virtual ~COxsyBasicCommands();
// members functions
int send_com_catch(Socket *sock, double dir);
int send_com_dash(Socket *sock, double power);
int send_com_kick(Socket *sock, double power, double dir);
int send_com_move(Socket *sock, double x, double y);
int send_com_tackle(Socket *sock, double power);
int send_com_turn(Socket *sock, double moment);
int send_com_attention_to(Socket *sock, char *team, int unum);
int send_com_change_view(Socket *sock, ViewWidth width, ViewQuality quality);
int send_com_ear(Socket *sock, char *mode, char *team, char *type);
int send_com_point_to(Socket *sock, double dist, double dir);
int send_com_say(Socket *sock, char *message);
int send_com_score(Socket *sock);
int send_com_sense_body(Socket *sock);
int send_com_turn_neck(Socket *sock, double dir);
int send_com_bye(Socket *sock);
int send_com_compression(Socket *sock, int level);
InitInfo send_com_init(char *teamname, double version, bool goalie);
InitInfo send_com_reconnect(char *teamname, int unum);
int send_com_eye(Socket *sock, bool onp);
int send_com_look(Socket *sock);
protected:
// members variables
COxsyClassPointers *m_pClassPointers;
};
#endif // __BASICCOMMANDS_H__