I'm asking myself how the API to read chunks should look like.
From my current understanding, they consist of messages like
- Entity X bought item Y on slot Z
- Entity X gains Y gold
- Entity X moves to x,y,z
- Update Entity X's inventory to Y (Sent on selling something)
So to make sense of these, you need a lot of game state, like which player is X, where is he, how much gold and what items does he currently have, which i think the lib should keep for you. But how do we expose this information back in a useful way?
I'm asking myself how the API to read chunks should look like.
From my current understanding, they consist of messages like
So to make sense of these, you need a lot of game state, like which player is X, where is he, how much gold and what items does he currently have, which i think the lib should keep for you. But how do we expose this information back in a useful way?