mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 22:47:32 +08:00
fix(Enums): Make enum class to prevent redefinition errors
This commit is contained in:
parent
cee401f0f0
commit
28acfbd9a5
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "netPlayerData.hpp"
|
#include "netPlayerData.hpp"
|
||||||
|
|
||||||
enum eGameState : int32_t
|
enum class eGameState : int32_t
|
||||||
{
|
{
|
||||||
Invalid = -1,
|
Invalid = -1,
|
||||||
Playing,
|
Playing,
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "CAmmoInfo.hpp"
|
#include "CAmmoInfo.hpp"
|
||||||
#include "CItemInfo.hpp"
|
#include "CItemInfo.hpp"
|
||||||
|
|
||||||
enum eDamageType : int32_t
|
enum class eDamageType : int32_t
|
||||||
{
|
{
|
||||||
Unknown,
|
Unknown,
|
||||||
None,
|
None,
|
||||||
@ -22,7 +22,7 @@ enum eDamageType : int32_t
|
|||||||
_0x1C8E59AE
|
_0x1C8E59AE
|
||||||
};
|
};
|
||||||
|
|
||||||
enum eFireType : int32_t
|
enum class eFireType : int32_t
|
||||||
{
|
{
|
||||||
None,
|
None,
|
||||||
Melee,
|
Melee,
|
||||||
@ -32,7 +32,7 @@ enum eFireType : int32_t
|
|||||||
VolumetricParticle
|
VolumetricParticle
|
||||||
};
|
};
|
||||||
|
|
||||||
enum eWheelSlot : int32_t
|
enum class eWheelSlot : int32_t
|
||||||
{
|
{
|
||||||
Pistol,
|
Pistol,
|
||||||
SMG,
|
SMG,
|
||||||
|
Loading…
Reference in New Issue
Block a user