toontown-just-works/toontown/ai/ReportGlobals.py

11 lines
265 B
Python
Raw Permalink Normal View History

2024-07-07 18:08:39 -05:00
categories = ['foul-language', 'greening', 'rude-behavior', 'bad-name', 'hacking']
def isValidCategory(value):
return value < len(categories)
def isValidCategoryName(value):
return value in categories
def getCategory(value):
return categories[value]