# Path: webservice/service_func.py
# class func_error(Exception):
# class service_func:
# class default_func(service_func):
#     def __init__(self, message):
#     def __str__(self):
#     def __init__(self, func_path):
#     def check_server_key(self, args, server):
#     def init(self):
#     def execute(self, args, server):
#     def answer(self):
#     def get_meta(self):
#     def __init__(self, functions):
#     def answer(self):


from ..service_func import service_func, meta_arg, func_error
#this will answer the current answer in game_data.current_question


class answer_question(service_func):

    def __init__(self):
        service_func.__init__(self, "/question/answer")
        self.name = "Answer question"
        self.description = "Answer the current question"
        self.args.append(meta_arg("key", "Protection key", "none"))

# Path: webservice/service_func.py
# class func_error(Exception):
# class service_func:
# class default_func(service_func):
#     def __init__(self, message):
#     def __str__(self):
#     def __init__(self, func_path):
#     def check_server_key(self, args, server):
#     def init(self):
#     def execute(self, args, server):
#     def answer(self):
#     def get_meta(self):
#     def __init__(self, functions):
#     def answer(self):


# Path: webservice/funcs/answer_question.py
from ..service_func import service_func, meta_arg, func_error

#this will answer the current answer in game_data.current_question


class answer_question(service_func):

    def __init__(self):
        service_func.__init__(self, "/question/answer")
        self.name = "Answer question"
        self.description = "Answer the current question"
        self.args.append(meta_arg("key", "Protection key", "none"))

        self.args.append(meta_arg("valid", "Is the answer is good or not (true or false)", "none"))