198 def __init__(self, success: int = 0, error: int = 84, ip: str =
"0.0.0.0", port: int = 8080, name: str =
"", debug: bool =
False) ->
None:
200 self.continue_running: bool =
True
203 self.items: Items =
Items()
204 self.commands: Commands =
Commands()
214 self.error: int = error
215 self.success: int = success
216 self.current_status: int = self.success
219 self.tcp_ready: bool =
False
220 self.tcp_status: int = self.success
223 self.ai_ready: bool =
False
224 self.ai_status: int = self.success
227 self.initialisation_complete: bool =
False
230 self.wait_look: bool =
False
233 self.current_buffer: list[dict[Commands, any]] = []
234 self.response_buffer: list[dict[Commands, any]] = []
238 self.colourise_output: ColouriseOutput = ColouriseOutput()
239 self.colourise_error: ColouriseOutput = ColouriseOutput(stderr)
240 self.beautify: Disp = Disp(
241 toml_content=TOML_CONF,