-
Notifications
You must be signed in to change notification settings - Fork 29
/
gsc_player.hpp
74 lines (58 loc) · 1.83 KB
/
gsc_player.hpp
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#ifndef _GSC_PLAYER_HPP_
#define _GSC_PLAYER_HPP_
#ifdef __cplusplus
extern "C" {
#endif
/* default stuff */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* gsc functions */
#include "gsc.hpp"
int clientaddress_to_num(int address);
void gsc_player_velocity_set(int id);
void gsc_player_velocity_add(int id);
void gsc_player_velocity_get(int id);
void gsc_player_button_ads(int id);
void gsc_player_button_left(int id);
void gsc_player_button_right(int id);
void gsc_player_button_forward(int id);
void gsc_player_button_back(int id);
void gsc_player_button_leanleft(int id);
void gsc_player_button_leanright(int id);
void gsc_player_button_jump(int id);
int gsc_player_state_alive_set();
void gsc_player_stance_get(int id);
void gsc_player_spectatorclient_get(int id);
void gsc_get_userinfo(int id);
void gsc_set_userinfo(int id);
void gsc_player_getip(int id);
void gsc_player_getping(int id);
void gsc_player_clientuserinfochanged(int id);
void gsc_player_ClientCommand(int id);
void gsc_player_getLastConnectTime(int id);
void gsc_player_getLastMSG(int id);
void gsc_player_getclientstate(int id);
void gsc_player_addresstype(int id);
void gsc_player_renameclient(int id);
void gsc_player_outofbandprint(int id);
void gsc_player_connectionlesspacket(int id);
void gsc_player_resetNextReliableTime(int id);
void gsc_player_ismantling(int id);
void gsc_player_isonladder(int id);
long double hook_player_setmovespeed(int client, int a2);
void hook_player_g_speed(int client);
void gsc_player_setmovespeedscale(int id);
void gsc_player_setg_speed(int id);
void gsc_player_setg_gravity(int id);
void gsc_player_setweaponfiremeleedelay(int id);
// entity functions
void gsc_entity_setalive(int id);
void gsc_entity_setbounds(int id);
// player functions without entity
void gsc_free_slot();
void gsc_kick_slot();
#ifdef __cplusplus
}
#endif
#endif