Design: a C ABI so a game runtime can embed the SixM client
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start by reading the sixm-client crate, which the issue identifies as holding the client core. The proposal leaves threading, host registration of script functions, and event and chat delivery unresolved, so those design questions need decisions before implementation. Done means agreeing on a C API header and design note, then implementing it as a cdylib on top of sixm-client.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The client core (connect, handshake, send local state, receive snapshots, run client Lua) now lives in the sixm-client Rust crate. A game integration needs to drive it from C or C++.
Needs no game files.
Proposal to flesh out
A small C API, something like:
sixm_client* sixm_connect(const char* host, uint16_t port, const char* name);
void sixm_set_local_state(sixm_client*, const sixm_state* state);
size_t sixm_get_remote_players(sixm_client*, sixm_remote* out, size_t max);
void sixm_tick(sixm_client*);
void sixm_disconnect(sixm_client*);
Open questions
- Threading: who owns the network thread, and when may the host call in?
- How do script-visible game functions get registered by the host?
- How are events and chat surfaced to the host?
Done when
A header and a design note are agreed here, then implemented as a cdylib on top of sixm-client.
- Lenguaje dominante
- Rust
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CodingRule/SixM
-
help wanted in-game-client needs-game-copy
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
CodingRule/SixM#1 ·
-
in-game-client tracking
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
CodingRule/SixM#12 ·
-
Option to trust X-Forwarded-For behind a reverse proxyPosiblemente ocupada @shiwng la tomó hoy. Abiertoenhancement good first issue hosting
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
CodingRule/SixM#10 ·
-
enhancement help wanted hosting
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
CodingRule/SixM#9 ·
-
enhancement help wanted networking
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
CodingRule/SixM#7 ·
Todos los issues de CodingRule/SixM
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
autofixer: follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
tursodatabase/turso#12531 ·
Los mantenedores suelen responder en 1 día
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
userFRM/egui-charts#4292 ·
Los mantenedores suelen responder en 1 día
-
CHANGELOG.md out of dateAbiertoIssue-Bug Need-Review
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
PowerShell/DSC#1832 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día