def __add_prop(self, key, admin=False):
def getter(self):<EOL><INDENT>return self.config[key]<EOL><DEDENT>def setter(self, val):<EOL><INDENT>if admin and not self.admin:<EOL><INDENT>raise RuntimeError(<EOL>f"<STR_LIT>"<EOL>)<EOL><DEDENT>self.__set_config_value(self.config.get_real_key(key), val)<EOL><DEDENT>setattr(self.__class__, key, property(getter, setter))<EOL>
Add gettable and settable room config property during runtime