Skip to main content

Proxy - v0.1.4

ยท One min read

Addedโ€‹

Fixedโ€‹

Changedโ€‹

  • Change the structure of the RPC clients.
    • Move some fields and methods in gRrpc/thrift client to the base class (IRpcClient).
    • Add RpcPlayerClient that handles the preprocess check and execution.
    • The ThriftPlayerClient and GrpcPlayerClient inherit from the RpcPlayerClient for preprocess handling.
  • Preprocess:
    • Add need_preprocess to the State message.
    • Add ignore_preprocess to the PlayerActions message.
    • Player Agents now first check whether they require preprocess actions, send the bool as the need_preprocess field in the State message. Then, if the server sends the ignore_preprocess=false (default value) to the proxy, the proxy will call doPreprocess method. If ther server sends the ignore_preprocess=true to the proxy, the proxy will not call the doPreprocess method and execute the PlayerActoins.