fix(Enums): Make enum class to prevent redefinition errors

This commit is contained in:
Yimura 2022-03-02 02:12:36 +01:00
parent cee401f0f0
commit 28acfbd9a5
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#pragma once
#include "netPlayerData.hpp"
enum eGameState : int32_t
enum class eGameState : int32_t
{
Invalid = -1,
Playing,

View File

@ -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,