-
Notifications
You must be signed in to change notification settings - Fork 174
/
IWorldRegistrationSystem.sol
37 lines (27 loc) · 1.3 KB
/
IWorldRegistrationSystem.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.21;
/* Autogenerated file. Do not edit manually. */
import { ResourceId } from "@latticexyz/store/src/ResourceId.sol";
import { ISystemHook } from "./../../ISystemHook.sol";
import { WorldContextConsumer } from "./../../WorldContext.sol";
interface IWorldRegistrationSystem {
function registerNamespace(ResourceId namespaceId) external;
function registerSystemHook(ResourceId systemId, ISystemHook hookAddress, uint8 enabledHooksBitmap) external;
function unregisterSystemHook(ResourceId systemId, ISystemHook hookAddress) external;
function registerSystem(ResourceId systemId, WorldContextConsumer system, bool publicAccess) external;
function registerFunctionSelector(
ResourceId systemId,
string memory systemFunctionSignature
) external returns (bytes4 worldFunctionSelector);
function registerRootFunctionSelector(
ResourceId systemId,
string memory worldFunctionSignature,
bytes4 systemFunctionSelector
) external returns (bytes4 worldFunctionSelector);
function registerDelegation(address delegatee, ResourceId delegationControlId, bytes memory initCallData) external;
function registerNamespaceDelegation(
ResourceId namespaceId,
ResourceId delegationControlId,
bytes memory initCallData
) external;
}