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-04-28 23:01:52 -05:00
return categories[value]