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
andGrpcPlayerClient
inherit from theRpcPlayerClient
for preprocess handling.
- Move some fields and methods in gRrpc/thrift client to the base class (
- Preprocess:
- Add
need_preprocess
to theState
message. - Add
ignore_preprocess
to thePlayerActions
message. - Player Agents now first check whether they require preprocess actions, send the
bool
as theneed_preprocess
field in theState
message. Then, if the server sends theignore_preprocess=false (default value)
to the proxy, the proxy will calldoPreprocess
method. If ther server sends theignore_preprocess=true
to the proxy, the proxy will not call thedoPreprocess
method and execute thePlayerActoins
.
- Add