Breakdown.Tools
1.24.9
dotnet add package Breakdown.Tools --version 1.24.9
NuGet\Install-Package Breakdown.Tools -Version 1.24.9
<PackageReference Include="Breakdown.Tools" Version="1.24.9" />
paket add Breakdown.Tools --version 1.24.9
#r "nuget: Breakdown.Tools, 1.24.9"
// Install Breakdown.Tools as a Cake Addin #addin nuget:?package=Breakdown.Tools&version=1.24.9 // Install Breakdown.Tools as a Cake Tool #tool nuget:?package=Breakdown.Tools&version=1.24.9
Breakdown.Tools
Considered a core part of the 'Breakdown' project for Unturned. Breakdown is a set of libraries and modules for Unturned that assist in the creation of plugins and modules for the game.
ReflectionTool
Provides simple helper methods when it comes to reflection. An example of this would include GetFieldValue<T>(this object? obj, string field)
and SetFieldValue<T>(this object obj, string field, T value)
which allow developers to more easily access private fields within objects.
DependentTool
Uses the dependent system originally introduced in JDE2 (JStudio Development Editor). Developers simply activate the rest of their plugin/module using RegisterNexusPoint(Assembly key)
. All classes that inherit INexusDependent
will be activated (assuming the constructor has no parameters). Alongside that, classes that rely on another class that inherits IDependent
can be be activated at the same time as the required class by using IBranchedDependent<T>
.
PluginTool
Simple plugin system. To support plugins for your assembly, simply create a class inheriting Plugin
. Other developers who wish to create plugins for your assembly should then use this class within their projects. In your assembly, make sure to invoke LoadPlugins<T>(Assembly nexusAssembly, string directory)
. Please note that the directory is not created for you.
Zones
You can create PolygonZone
and RadiusZone
that be used to monitoring or whatnot. Those classes inherit Zone
, which has a IsPointInsideZone(Vector3 point)
for implementing a dectection system. Alternatively you can pass a Zone
into a ZoneMonitor
that is attached to a GameObject
.
DispatcherTool
Similar setup to RocketMod, the DispatcherTool
has methods for executing code on the main thread (QueueOnMainThread(Action action)
).
Logging
While not properly setup just yet, you can use the static Logger
class to log to a console on Windows or the Unturned log file. Breakdown automatically figures out what logging setup is best for the environment it is executing in.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- DanielWillett.ReflectionTools (>= 3.2.0)
- DanielWillett.ReflectionTools.Harmony (>= 3.0.0)
- DanielWillett.StackCleaner (>= 1.4.2)
- DanielWillett.UnturnedUITools (>= 1.4.2)
- Lib.Harmony (>= 2.3.3)
- RocketModFix.Rocket.API (>= 4.17.0)
- RocketModFix.Rocket.Core (>= 4.17.0)
- RocketModFix.Rocket.Unturned (>= 4.17.0)
- RocketModFix.UnityEngine.Redist (>= 2021.3.29.1)
- RocketModFix.Unturned.Redist (>= 3.24.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Breakdown.Tools:
Package | Downloads |
---|---|
Breakdown.MapGen
Regular library to assist in making custom chart/map overlays for Unturned. |
|
CrateDrop
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Added savedata changes.