Poodletooth-iLand/toontown/ai/ReportGlobals.py

10 lines
264 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-06-21 03:29:47 -05:00
return categories[value]