斯諾德維爾之戰 (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 發表