
FishUtilities
An api that simplifies the task of adding custom Network Objects.Details
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<T> is now Obsolete.
- FishManager.SendCmd<T> is now Obsolete.
v1.3.0
- Added FishRpc Attribute
- Added FishCmd Attribute
- Added SendRpc<T> to FishManager
- Added SendCmd<T> 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.