latticexyz / mud

MUD is a framework for building autonomous worlds
https://mud.dev
MIT License
724 stars 181 forks source link

Add helper that outputs an object with all tables in a world #2848

Open yonadaaa opened 4 months ago

yonadaaa commented 4 months ago

We can get all of a World's registered tables by reading tableId, keySchema, valueSchema, abiEncodedKeyNames, and abiEncodedFieldNames from the Tables table.

Given the uncertainty of multi-namespace support and mud init we can make this a helper for now