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
|
||||
#include "netPlayerData.hpp"
|
||||
|
||||
enum eGameState : int32_t
|
||||
enum class eGameState : int32_t
|
||||
{
|
||||
Invalid = -1,
|
||||
Playing,
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "CAmmoInfo.hpp"
|
||||
#include "CItemInfo.hpp"
|
||||
|
||||
enum eDamageType : int32_t
|
||||
enum class eDamageType : int32_t
|
||||
{
|
||||
Unknown,
|
||||
None,
|
||||
@ -22,7 +22,7 @@ enum eDamageType : int32_t
|
||||
_0x1C8E59AE
|
||||
};
|
||||
|
||||
enum eFireType : int32_t
|
||||
enum class eFireType : int32_t
|
||||
{
|
||||
None,
|
||||
Melee,
|
||||
@ -32,7 +32,7 @@ enum eFireType : int32_t
|
||||
VolumetricParticle
|
||||
};
|
||||
|
||||
enum eWheelSlot : int32_t
|
||||
enum class eWheelSlot : int32_t
|
||||
{
|
||||
Pistol,
|
||||
SMG,
|
||||
|
Loading…
Reference in New Issue
Block a user