Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add meta information to protobuf observation #44

Open
rk1a opened this issue Feb 3, 2023 · 0 comments
Open

Add meta information to protobuf observation #44

rk1a opened this issue Feb 3, 2023 · 0 comments

Comments

@rk1a
Copy link

rk1a commented Feb 3, 2023

Information that might be useful to have:

  • absolute mouse positions
  • mouse wheel state
  • pitch and yaw of camera
  • whether a menu is open
  • time stamp
  • any new chat messages
  • inventory content

A draft of such a protobuf object is here: https://github.com/EleutherAI/minetest/blob/develop/proto/objects.proto#L107

A more flexible approach would be to outsource this to mods.
For example, define a global table variable INFO that is being read out by the Minetest client (like i the case for REWARD and TERMINAL).
Then we could add any information that is available to mods into this table (although for some things, like inventory, this requires setting up mod channels to the server)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant