Poodletooth-iLand/toontown/ai/ReportGlobals.py

11 lines
265 B
Python
Raw Normal View History

2015-04-08 16:43:28 +00: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-04-29 04:01:52 +00:00
return categories[value]