forked from FabianTerhorst/cpp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSDK.h
More file actions
86 lines (67 loc) · 1.93 KB
/
SDK.h
File metadata and controls
86 lines (67 loc) · 1.93 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
#pragma once
#ifdef __cplusplus
#define EXTERN extern "C"
#else
#define EXTERN
#endif // __cplusplus
#ifdef _WIN32
#define EXPORT EXTERN __declspec(dllexport)
#define IMPORT EXTERN __declspec(dllimport)
#else
#define EXPORT EXTERN __attribute__ ((visibility ("default")))
#define IMPORT
#endif // _WIN32
/*
EXPORT uint32_t GetSDKVersion()
{
return ALTV_SDK_VERSION;
}
*/
#define ALTV_SDK_VERSION 3 //Increment manually on changes
#include "deps/alt-math/alt-math.h"
#include "types/Types.h"
#include "types/String.h"
#include "types/StringView.h"
#include "types/RGBA.h"
#include "types/Array.h"
#include "types/MValue.h"
#include "types/MValueList.h"
#include "types/MValueDict.h"
#include "types/MValueFunction.h"
#include "IBaseObject.h"
#include "IWorldObject.h"
#include "entities/IEntity.h"
#include "entities/IPlayer.h"
#include "entities/IVehicle.h"
#include "script-objects/ICheckpoint.h"
#include "script-objects/IBlip.h"
#include "script-objects/IVoiceChannel.h"
#include "events/CEvent.h"
#include "events/CServerScriptEvent.h"
#include "events/CClientScriptEvent.h"
#include "events/CPlayerConnectEvent.h"
#include "events/CPlayerDisconnectEvent.h"
#include "events/CPlayerDamageEvent.h"
#include "events/CPlayerDeathEvent.h"
#include "events/CCheckpointEvent.h"
#include "events/CColShapeEvent.h"
#include "events/CPlayerEnterVehicleEvent.h"
#include "events/CPlayerLeaveVehicleEvent.h"
#include "events/CPlayerChangeVehicleSeatEvent.h"
#include "events/CDataNodeReceivedEvent.h"
#include "events/CRemoveEntityEvent.h"
#include "events/CConsoleCommandEvent.h"
#ifdef ALT_CLIENT_API
#include "events/CConnectionComplete.h"
#include "events/CDisconnectEvent.h"
#include "events/CGameEntityCreateEvent.h"
#include "events/CGameEntityRemoveEvent.h"
#include "events/CKeyboardEvent.h"
#include "events/CWebViewEvent.h"
#endif
#include "IPackage.h"
#include "IResource.h"
#include "IScriptRuntime.h"
#ifdef ALT_SERVER_API
#include "IServer.h"
#endif