@scml/addon-mod-time-wrapper
TypeScript type definitions for DoL Time Wrapper addon, for wrapping game time-related functions with time hooks and proxies.
Installation
Quick Start
Add type reference
Use global instance
addonDoLTimeWrapperAddon is mounted on window.
Import types on demand
Global Types global
Subpath Exports
API Reference
./DoLTimeWrapperAddon
DoLTimeWrapperAddon class
./TimeProxyManager
Time proxy and hook management, including TimeProxyManager, TimeHookType, InfinityLoopChecker, etc.
./OldTimeFunctionHook
Old time function reference type, used for init() parameter.
Type Definition Source
INFO
- Upstream: Bundled with scml-types
- Build:
pnpm run download && pnpm run build
