chore(script/cleanup): Minor code clean up (#113)

This commit is contained in:
Synful-Syn
2023-05-29 12:43:05 -04:00
committed by GitHub
parent 2343495320
commit 00e1399838
5 changed files with 134 additions and 197 deletions

View File

@@ -88,12 +88,12 @@ void AnticheatData::SetTotalReports(uint32 _totalReports)
totalReports = _totalReports;
}
void AnticheatData::SetTypeReports(uint32 type, uint32 amount)
void AnticheatData::SetTypeReports(uint8 type, uint32 amount)
{
typeReports[type] = amount;
}
uint32 AnticheatData::GetTypeReports(uint32 type) const
uint32 AnticheatData::GetTypeReports(uint8 type) const
{
return typeReports[type];
}