def gameValue(self):
allowed = type(self).ALLOWED_TYPES<EOL>try:<EOL><INDENT>if isinstance(allowed, dict): <EOL><INDENT>return allowed.get(self.type.name)<EOL><DEDENT><DEDENT>except: pass <EOL>return None<EOL>
identify the correpsonding internal SC2 game value for self.type's value