_Lib
Free
Description
_Lib
This mod offers additional API to simplify implementing certain features like configs and improve mod compatibility.
Current API:
- ApiApi
- Logger
- AccessorApi
- ComponentsApi
- HistoryApi
- InputMapApi
- LayerApi
- ModConfigApi
- ModSignalingApi
- PreferencesWindowApi
- Util
Using _Lib
To be able to access _Lib’s Api put the following at the top of your mods `start()` method:
Engine.emit_signal(“_lib_register_mod”, self)
Alternatively check if the signal exists first to ensure _Lib is actually enabled:
if not Engine.has_signal(“_lib_register_mod”):
return
Engine.emit_signal(“_lib_register_mod”, self)
After registering your mod with _Lib you will now have an entry `Global.API` available that contains all of the _Lib APIs. For more info on how to use them check out the wiki or the example mod.
You must be logged in to post a review.
Dungeondraft Script Information | |
---|---|
Functionality | |
Dungeondraft Version | 1.1.0.0 Beta |
Adheres to Script Rules | no |
Open Source URL | https://github.com/CreepyCre/_Lib |
License Information | |
License Type | Other |
Posted by original creator | Yes |
License Notes | |
Map Information | |
Assets used in Map | |
Map Size | |
Map Theme | |
Map Style | |
Content Information | |
Software Information | |
Verified to Work With | |
Mythkeeper Compatible |
Follow this creator!And stay updated on new content, blog posts, updates and more by this creator!
Reviews
There are no reviews yet.