latticexyz / mud

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

feat(world): support namespaced systems #2870

Closed yonadaaa closed 1 month ago

yonadaaa commented 1 month ago

Namespaced systems are declared by prefixing the system name with the namespace:

contract namespace__ChatNamespacedSystem is System {
  function sendMessage(string memory message) public {
    ...
  }
}
changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 9b3c8deb21b11edbfbacbd878d5580441ee4f40b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 23 packages | Name | Type | | ----------------------------- | ----- | | @latticexyz/common | Patch | | @latticexyz/world | Patch | | @latticexyz/cli | Patch | | @latticexyz/block-logs-stream | Patch | | @latticexyz/config | Patch | | @latticexyz/dev-tools | Patch | | @latticexyz/faucet | Patch | | @latticexyz/protocol-parser | Patch | | @latticexyz/query | Patch | | @latticexyz/store-indexer | Patch | | @latticexyz/store-sync | Patch | | @latticexyz/store | Patch | | @latticexyz/world-modules | Patch | | mock-game-contracts | Patch | | @latticexyz/react | Patch | | @latticexyz/abi-ts | Patch | | create-mud | Patch | | @latticexyz/gas-report | Patch | | @latticexyz/recs | Patch | | @latticexyz/schema-type | Patch | | solhint-config-mud | Patch | | solhint-plugin-mud | Patch | | @latticexyz/utils | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR