mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
chore(script/cleanup): Minor code clean up (#113)
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user