RRIceBoxModLib
This is a prerequisite library required by all my mods. It provides common functional support and shared code for other mods.
模組介紹 作者原文
說明:本描述爲中英雙語版本,英文內容位於中文內容下方。
Note: This description is bilingual. The English section is provided below the Chinese section.
IceBoxModLib (中文)
這是我所有模組都需要的前置庫。它爲其他模組提供通用的功能支持。
主要功能
- 配置管理:簡化了 BepInEx 配置文件的創建和讀取
- 多語言支持:集成了遊戲內置的 I2 Localization 系統,支持模組的動態多語言切換和回退機制
- UI 通知:提供了遊戲內的提示消息彈窗功能
- 圖像工具:支持在運行時加載外部圖片並轉換爲 Unity 紋理和精靈,處理了 IL2CPP 環境下的內存分配和垃圾回收問題
- 容器 UI 刷新:提供了通用的 ItemContainer 標籤刷新能力,在修改容器數量後可立即更新貨架上的數量標籤
- 類型註冊:提供了在 IL2CPP 環境中註冊自定義類型的簡便方法
兼容性
- 遊戲版本:0.1.85+
- 必須使用 BepInEx IL2CPP 6.0.0 be.755 或更高版本。低版本(如 be.752)會導致遊戲啓動時崩潰。
- 作爲前置庫,請確保將其放置在 BepInEx/plugins 目錄下,以便依賴它的其他模組正常運行。
Bug 提交 & 新功能建議 & 新語言提交
如果你有任何問題、新功能建議或提交新的模組支持語言,請通過 GitHub Issues 提交,或直接通過郵箱 764884112@qq.com 或 ibox2333@gmail.com 聯繫我。
IceBoxModLib (English)
This is a prerequisite library required by all my mods. It provides common functional support and shared code for other mods.
Main Features
- Configuration Management: Simplifies the creation and reading of BepInEx configuration files
- Multi-language Support: Integrates with the game's built-in I2 Localization system, supporting dynamic multi-language switching and fallback mechanisms for mods
- UI Notifications: Provides in-game toast notification popups
- Image Utilities: Supports loading external images at runtime and converting them to Unity textures and sprites, automatically handling memory allocation and garbage collection issues in the IL2CPP environment
- Container UI Refresh: Provides a generic ItemContainer label refresh utility that immediately updates quantity labels on shelves after container modifications
- Type Registration: Provides a convenient way to register custom types in the IL2CPP environment
Compatibility
- Game version: 0.1.85+
- BepInEx IL2CPP 6.0.0 be.755 or higher is required. Lower versions such as be.752 will cause the game to crash on startup.
- As a prerequisite library, please ensure it is placed in the BepInEx/plugins directory so that other mods depending on it can run properly.
Bug Reports & Feature Suggestions & New Language Submissions
If you have any questions, feature suggestions, or want to submit support for a new mod language, please submit through GitHub Issues, or contact me directly at 764884112@qq.com or ibox2333@gmail.com.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: