Breakdown.Tools 1.24.9

dotnet add package Breakdown.Tools --version 1.24.9                
NuGet\Install-Package Breakdown.Tools -Version 1.24.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Breakdown.Tools" Version="1.24.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Breakdown.Tools --version 1.24.9                
#r "nuget: Breakdown.Tools, 1.24.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.24.9 137 6/28/2024
1.24.8 105 5/31/2024
1.24.7 128 4/14/2024
1.24.6 154 4/7/2024
1.24.5 130 4/6/2024
1.24.4 121 3/27/2024
1.24.3 122 3/22/2024
1.24.2 133 2/12/2024
1.24.1 114 2/10/2024
1.0.0 164 2/5/2024

Added savedata changes.