Design: a C ABI so a game runtime can embed the SixM client
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 3
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodingRule/SixM のほかの issue
-
help wanted in-game-client needs-game-copy
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
CodingRule/SixM#1 ·
-
in-game-client tracking
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
CodingRule/SixM#12 ·
-
Option to trust X-Forwarded-For behind a reverse proxy対応中かも @shiwng が今日担当しました。 オープンenhancement good first issue hosting
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
CodingRule/SixM#10 ·
-
enhancement help wanted hosting
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
CodingRule/SixM#9 ·
-
enhancement help wanted networking
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
CodingRule/SixM#7 ·
CodingRule/SixM の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
autofixer: follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tursodatabase/turso#12531 ·
メンテナーはふだん 1 日以内に返信
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
userFRM/egui-charts#4292 ·
メンテナーはふだん 1 日以内に返信
-
Issue-Bug Need-Review
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
PowerShell/DSC#1832 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信