Blizzard / s2client-proto

StarCraft II Client - protocol definitions used to communicate with StarCraft II.
MIT License
3.76k stars 430 forks source link

Correlation id for request/response. #116

Closed ocraft closed 4 years ago

ocraft commented 5 years ago

Each reply message should contain a Correlation Identifier, a unique identifier that indicates which request message this reply is for. This will allow a requestor that has received a reply to know which request this is the reply for. This is important for more complex communication models (i.e asynchronous multi-threaded clients, joint request/response and asynchronous ccmmunication models...).

tewalds commented 4 years ago

This exists: https://github.com/Blizzard/s2client-proto/blob/master/s2clientprotocol/sc2api.proto#L118