Respect game visibility
まだ誰も着手していません。
評価
調査の方向性
GameService#markDirty、DelayedResponse、ClientService#broadcastDelayedResponses、GameResponsesTransformer#gameから始め、その後、関連するユニットテストを確認してください。プライベートゲームがブロードキャストされず、フレンド限定ゲームがフレンドにのみ届き、クライアントのゲームレスポンスから可視性が省略され、GameAccessが削除され、調整したテストがパスすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Currently, the server broadcasts all games to all players. However, games marked as PRIVATE should not be broadcasted at all and games marked as FRIENDS should only be sent to friends.
- Remove the unused
com.faforever.server.game.GameAccess - Don't serialize
visibilitywhen sending games to client (incom.faforever.server.integration.legacy.transformer.GameResponsesTransformer#game) - Implement a method similar to
com.faforever.server.game.GameService#markDirtythat allows specifying a list of players to send to - Extend
com.faforever.server.client.DelayedResponseso that a list of receivers can be specified. The list should be nullable (so make its getter return an Optional), in which case it's considered a broadcast (document this in the getter) - Refactor
com.faforever.server.client.ClientService#broadcastDelayedResponsesso that it either broadcasts the response or sends it to the list of recipients. - Adjust and add unit tests accordingly
- 主要言語
- Java
- スター
- 12
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FAForever/faf-java-server のほかの issue
-
Server closes peers to ppl disconnecting from server再び着手できるかも @1-alex98 が 2822 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
FAForever/faf-java-server#112 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
FAForever/faf-java-server#110 · コメント 1 件 ·
-
beginner-friendly
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
FAForever/faf-java-server#100 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
FAForever/faf-java-server#99 ·
-
New Ban Revoke Structure再び着手できるかも @1-alex98 が 2901 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
FAForever/faf-java-server#95 · 担当者 1 名 ·
FAForever/faf-java-server の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/java-sdk#1174 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
module: core
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
bigbluebutton/bigbluebutton#26028 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MetricsHub/metricshub-community#1390 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
apache/rocketmq-dashboard#6331 ·
メンテナーはふだん 5 日以内に返信
-
status: team-only type: dependency-upgrade
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
spring-projects/spring-boot#52143 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信