You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 visibility when sending games to client (in com.faforever.server.integration.legacy.transformer.GameResponsesTransformer#game)
Implement a method similar to com.faforever.server.game.GameService#markDirty that allows specifying a list of players to send to
Extend com.faforever.server.client.DelayedResponse so 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#broadcastDelayedResponses so that it either broadcasts the response or sends it to the list of recipients.
Adjust and add unit tests accordingly
The text was updated successfully, but these errors were encountered:
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.
com.faforever.server.game.GameAccess
visibility
when sending games to client (incom.faforever.server.integration.legacy.transformer.GameResponsesTransformer#game
)com.faforever.server.game.GameService#markDirty
that allows specifying a list of players to send tocom.faforever.server.client.DelayedResponse
so 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)com.faforever.server.client.ClientService#broadcastDelayedResponses
so that it either broadcasts the response or sends it to the list of recipients.The text was updated successfully, but these errors were encountered: