xwt
xwt copied to clipboard
bevy_xwt
Hey,
When doing my exploration into #132 - I found that I would indeed benefit from an API akin to bevy_matchbox
I want to start building bevy_xwt
, at a high level:
bevy_xwt
: 2 features (client, server)
- client:
- commands:
-
commands.start_session(url: &str)
-
commands.close_session()
-
- system parameters:
-
ClientSession
, derefs toSession
-
- events:
-
enum ClientEvent { IdAssigned(SessionId), Connected, Disconnected }
-
- commands:
- server:
- commands:
-
commands.start_server(port: u16)
-
commands.stop_server()
-
- system parameters:
-
ServerSessions
, derefs toHashMap<SessionId, Session>
-
- events:
-
enum ServerEvent { ClientJoined(SessionId), ClientLeft(SessionId) }
-
- commands:
That's basically it, extremely simple to start.
Since you mentioned you want to reserve the name bevy_xwt
, do you mind starting the seed repo, and adding me as a contributor so I can continue to build it under your repo?