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
RpcPlayerClientthat handles the preprocess check and execution. - The
ThriftPlayerClientandGrpcPlayerClientinherit from theRpcPlayerClientfor preprocess handling.
- Move some fields and methods in gRrpc/thrift client to the base class (
- Preprocess:
- Add
need_preprocessto theStatemessage. - Add
ignore_preprocessto thePlayerActionsmessage. - Player Agents now first check whether they require preprocess actions, send the
boolas theneed_preprocessfield in theStatemessage. Then, if the server sends theignore_preprocess=false (default value)to the proxy, the proxy will calldoPreprocessmethod. If ther server sends theignore_preprocess=trueto the proxy, the proxy will not call thedoPreprocessmethod and execute thePlayerActoins.
- Add