雪居之地 (Wildfrost)

雪居之地 (Wildfrost)

Config Manager
正在显示第 31 - 40 项,共 44 项条目
< 1  2  3  4  5 >
更新于:2024 年 3 月 22 日 下午 6:08
作者:Hopeless

  • ConfigManager.SaveConfig() : Manually make changes to the config (similar to toggling charms with my Unlock Selector mod)
  • ConfigManager.OnModLoaded : Event after any mod loads
  • ConfigManager.OnModUnloaded : Event after any mod unloads
  • ConfigManager.ConfigSection: This class holds the logic for a single mod's config items
    • ConfigSection.OnConfigChanged : Event after a config is saved
  • ConfigManager.ConfigItem: This class holds the logic for a single config item
    • ConfigItem.UpdateDesc() : Change the hover popup, possible overriding the text preprocessing. Same as doing "desc = str"
    • ConfigItem.UpdateTitle() : Change the title displayed. Same as doing "title = str"
Also you can use sprites using <sprite=> in the desc, but keywords and card popups don't work yet

It's also less cancerous if you want to look through the .dll now

更新于:2024 年 3 月 15 日 下午 1:30
作者:Hopeless

he has a body now.

Also added the ability to use Flags enums (probably a temporary solution), and automatically use ConfigItem comments as the description pop-up (this won't override text preprocessing though)

更新于:2024 年 3 月 15 日 上午 7:23
作者:Hopeless

Quick patch because Mod Support 7 introduced (mandatory) comments to configs which breaks kekw

更新于:2024 年 3 月 14 日 下午 4:28
作者:Hopeless

Enabled word-wrapping for mod titles

更新于:2024 年 3 月 12 日 下午 3:37
作者:Hopeless

Sliders' onValueChanged.RemoveAllListeners() replaced with new()

更新于:2024 年 3 月 12 日 下午 3:36
作者:Hopeless

更新于:2024 年 3 月 12 日 下午 3:16
作者:Hopeless

Fixed sliders not loading into the correct position (visual bug)

更新于:2024 年 3 月 12 日 上午 11:45
作者:Hopeless

Readded the old ConfigManagerDesc constructor. Does this help with backward-compatibility?

更新于:2024 年 3 月 12 日 上午 6:20
作者:Hopeless

Added the ability to override the text preprocessing done by CardPopUp (for the description). Now this will work with other rich text tags, such as <align> and <#FFF> etc.

更新于:2024 年 3 月 10 日 下午 4:08
作者:Hopeless