FishUtilities
An api that simplifies the task of adding custom Network Objects.
模組介紹 作者原文
FishUtilities
FishUtilities is a BepInEx plugin that simplifies the process of adding custom Network Object Prefabs to be able to spawn on the Network.
Features
- Simplified Network Objects: Add Network Object Prefabs to the Network with ease.
Installation
- Prerequisites:
- Mage Arena with BepInEx 5.4.21 or newer
- ModSync
- Installation:
MageArena/
└── BepInEx/
└── plugins/
└── FishUtilities.dll
Example
private void Awake()
{
FishManager.RegisterNetworkObjectPrefab(MyPlugin, MyMono, "OptionalUniqueIdentifier");
}
Changelog
v1.4.0
- Added NetworkManager to FishManager.
- Added IsHost to FishManager.
- Backend changes.
- Fixed exceptions errors.
v1.3.3
- Add FishTargetRpcAttribute
v1.3.2
- Rpc and Cmd automatic ID assignment.
- ID Constructors for FishRpc and FishCmd are now Obsolete with error.
v1.3.1
- Allow Rpc and Cmd functions to be directly called and synchronized.
- FishManager.SendRpc is now Obsolete.
- FishManager.SendCmd is now Obsolete.
v1.3.0
- Added FishRpc Attribute
- Added FishCmd Attribute
- Added SendRpc to FishManager
- Added SendCmd to FishManager
v1.2.3
- Make all members public for DataWriter.
v1.2.2
- Fix namespace.
v1.2.1
- Added ability to FastRead and FastWrite game objects.
v1.2.0
- Add CustomNetworkBehaviour.
- Add SpawnNetworkObject to FishManager.
v1.1.1
- Add xml documentation.
v1.1.0
- Sort prefab list by ID after adding prefabs.
v1.0.0
- Initial release.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
BepInEx-BepInExPackhiccup-ModSync