mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
chore(script/cleanup): Minor code clean up (#113)
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
class Player;
|
||||
class AnticheatData;
|
||||
|
||||
enum ReportTypes
|
||||
enum ReportTypes : uint8
|
||||
{
|
||||
SPEED_HACK_REPORT = 0,
|
||||
FLY_HACK_REPORT = 1,
|
||||
@@ -103,7 +103,7 @@ class AnticheatMgr
|
||||
|
||||
uint32 GetTotalReports(ObjectGuid guid);
|
||||
float GetAverage(ObjectGuid guid);
|
||||
uint32 GetTypeReports(ObjectGuid guid, uint8 type);
|
||||
uint32 GetTypeReports(ObjectGuid guid, ReportTypes type);
|
||||
|
||||
void AnticheatGlobalCommand(ChatHandler* handler);
|
||||
void AnticheatDeleteCommand(ObjectGuid guid);
|
||||
@@ -129,8 +129,8 @@ class AnticheatMgr
|
||||
void BGreport(Player* player);
|
||||
void CheckStartPositions(Player* player);
|
||||
void BGStartExploit(Player* player, MovementInfo movementInfo);
|
||||
void BuildReport(Player* player,uint16 reportType);
|
||||
bool MustCheckTempReports(uint8 type);
|
||||
void BuildReport(Player* player, ReportTypes reportType);
|
||||
bool MustCheckTempReports(ReportTypes type);
|
||||
uint32 _counter = 0;
|
||||
uint32 _alertFrequency = 0;
|
||||
uint32 _assignedspeeddiff = 0;
|
||||
|
||||
Reference in New Issue
Block a user