Poodletooth-iLand/toontown/ai/ReportGlobals.py

11 lines
265 B
Python
Raw Normal View History

2015-11-14 13:28:53 -06: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]