Internal tables of Store
StoreCore.initialize
creates all the internal tables.
It is called within StoreRead
's constructor (which is implemented by World
).
Tables
SCHEMA_TABLE
- a very low-level table with no library for it. All table schemas are stored here. Directly using it is not recommended, table libraries generated viatablegen
have schema methods likeregisterSchema
. Alternatively,StoreCore
exposesgetSchema
,getKeySchema
,hasTable
,registerSchema
,setMetadata
, most of which are used by table libraries internally.Hooks
- maps tableId to an array of table hooksStoreMetadata
- maps tableId to optional metadata, like table and field names