TmpMenu/src/core/data/infractions.hpp

30 lines
960 B
C++
Raw Normal View History

#pragma once
#include "gta/joaat.hpp"
namespace big
{
// Add new values to the bottom
enum class Infraction
{
DESYNC_PROTECTION,
BREAKUP_KICK_DETECTED,
LOST_CONNECTION_KICK_DETECTED,
SPOOFED_ROCKSTAR_ID,
TRIGGERED_ANTICHEAT,
TRIED_CRASH_PLAYER,
2022-11-21 15:42:12 +00:00
TRIED_KICK_PLAYER,
BLAME_EXPLOSION_DETECTED
};
inline std::unordered_map<Infraction, const char*> infraction_desc =
{
{Infraction::DESYNC_PROTECTION, "Used desync protections"},
{Infraction::BREAKUP_KICK_DETECTED, "Kicked someone using breakup kick"},
{Infraction::LOST_CONNECTION_KICK_DETECTED, "Tried to kick someone using lost connection kick"},
{Infraction::SPOOFED_ROCKSTAR_ID, "Had spoofed RID"},
{Infraction::TRIGGERED_ANTICHEAT, "Triggered Rockstar's anticheat"},
{Infraction::TRIED_CRASH_PLAYER, "Tried to crash you"},
2022-11-21 15:42:12 +00:00
{Infraction::TRIED_KICK_PLAYER, "Tried to kick you"},
{Infraction::BLAME_EXPLOSION_DETECTED, "Tried to blame someone for their explosion"}
};
}