abacura.mud package¶
Subpackages¶
Submodules¶
abacura.mud.session module¶
MUD session handler
- class abacura.mud.session.Session(name: str)[source]¶
Bases:
BaseSessionMain User Session Class
- connect(name: str, host: str = '', port: int = 0) None[source]¶
@connect <name> <host> <port> to connect a game session
- launch_screen()[source]¶
Fired on screen mounting, so our Footer is updated and Session gets a TextLog handle
- output(msg, markup: bool = False, highlight: bool = False, ansi: bool = False, actionable: bool = True, gag: bool = False, loggable: bool = True)[source]¶
Write to TextLog for this screen
- send(msg: str, raw: bool = False) None[source]¶
Send to writer (socket), raw will send the message without byte translation