Poodletooth-iLand/toontown/ai/ReportGlobals.py

11 lines
265 B
Python
Raw Normal View History

2015-04-08 11:43:28 -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):
2015-07-05 18:59:25 -05:00
return categories[value]