2022-11-19 01:49:36 +00:00
|
|
|
#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,
|
2022-12-06 16:12:02 +00:00
|
|
|
BLAME_EXPLOSION_DETECTED,
|
|
|
|
ATTACKING_WITH_GODMODE
|
2022-11-19 01:49:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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"},
|
2022-12-06 16:12:02 +00:00
|
|
|
{Infraction::BLAME_EXPLOSION_DETECTED, "Tried to blame someone for their explosion"},
|
|
|
|
{Infraction::ATTACKING_WITH_GODMODE, "Attacked someone when using godmode"}
|
2022-11-19 01:49:36 +00:00
|
|
|
};
|
|
|
|
}
|