Commit Graph

2 Commits (be26449ef77fe8538c793762d34510df0207798f)

Author SHA1 Message Date
David Li 8b5321fe86 Add option to force-fetch world blocks in RemoteFortressReader
The current behavior of GetBlockList in the RemoteFortressReader
  Protobuf RPC API is to only return blocks that have changed since
  the last fetch. This causes problems when the RPC client (i.e. a
  world renderer) wants to restart, as it can no longer fetch the
  full world state.

  This patch adds a `force_reload` option to BlockRequest, defaulting
  to `false` (the current behavior). When passed, it returns all
  requested blocks regardless of whether they have changed or not.

Signed-off-by: David Li <jiawei.davidli@gmail.com>
2023-08-07 19:17:04 -07:00
Clément Vuchener 5aa246f6b0 plugins: include proto directory from current source directory
Updated remotefortressreader for the new behavior.
2023-04-08 12:43:30 +02:00