/
Enums.h
94 lines (81 loc) · 1.88 KB
/
Enums.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
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
87
88
89
90
91
92
93
94
/*****************************************************************************
*
* PROJECT: Multi Theft Auto v1.0
* LICENSE: See LICENSE in the top level directory
* FILE: Enums.h
* PURPOSE: Client/server shared enum definitions
*
*****************************************************************************/
#pragma once
#include <net/Packets.h>
namespace EEventPriority
{
enum EEventPriorityType
{
LOW,
NORMAL,
HIGH,
};
}
using EEventPriority::EEventPriorityType;
DECLARE_ENUM(EEventPriority::EEventPriorityType)
namespace EPlayerScreenShotResult
{
enum EPlayerScreenShotResultType
{
NONE,
SUCCESS,
MINIMIZED,
DISABLED,
ERROR_,
};
}
using EPlayerScreenShotResult::EPlayerScreenShotResultType;
DECLARE_ENUM(EPlayerScreenShotResult::EPlayerScreenShotResultType)
namespace EDebugHook
{
enum EDebugHookType
{
PRE_EVENT,
POST_EVENT,
PRE_FUNCTION,
POST_FUNCTION,
PRE_EVENT_FUNCTION,
POST_EVENT_FUNCTION,
MAX_DEBUG_HOOK_TYPE
};
}
using EDebugHook::EDebugHookType;
DECLARE_ENUM(EDebugHook::EDebugHookType);
enum eEulerRotationOrder
{
EULER_DEFAULT,
EULER_ZXY,
EULER_ZYX,
EULER_MINUS_ZYX,
};
DECLARE_ENUM(eEulerRotationOrder);
DECLARE_ENUM(EHashFunction::EHashFunctionType);
DECLARE_ENUM_CLASS(HashFunctionType);
DECLARE_ENUM_CLASS(PasswordHashFunction);
DECLARE_ENUM_CLASS(StringEncodeFunction);
DECLARE_ENUM_CLASS(KeyPairAlgorithm);
DECLARE_ENUM_CLASS(HmacAlgorithm);
enum class WorldSpecialProperty
{
HOVERCARS,
AIRCARS,
EXTRABUNNY,
EXTRAJUMP,
RANDOMFOLIAGE,
SNIPERMOON,
EXTRAAIRRESISTANCE,
UNDERWORLDWARP,
VEHICLESUNGLARE,
CORONAZTEST,
WATERCREATURES,
BURNFLIPPEDCARS,
FIREBALLDESTRUCT,
};
DECLARE_ENUM_CLASS(WorldSpecialProperty);
DECLARE_ENUM(ePacketID);