AliLib.Core
0.5.2
dotnet add package AliLib.Core --version 0.5.2
NuGet\Install-Package AliLib.Core -Version 0.5.2
<PackageReference Include="AliLib.Core" Version="0.5.2" />
<PackageVersion Include="AliLib.Core" Version="0.5.2" />
<PackageReference Include="AliLib.Core" />
paket add AliLib.Core --version 0.5.2
#r "nuget: AliLib.Core, 0.5.2"
#:package AliLib.Core@0.5.2
#addin nuget:?package=AliLib.Core&version=0.5.2
#tool nuget:?package=AliLib.Core&version=0.5.2
AliLib
AliLib Is a Blade & Sorcery Modding Library designed to promote easier, more modular scripted mods. (specifically spells)
Want to use AliLib? Check out the Wiki!
AliLib.Analyzer
A Roslyn Analyzer that handles semantic checks aswell as provides some functionality for AliLib build events.
AliLib.Core
The core library for AliLib, all of the non-build related content lives here.
Cloning the Repo
Due to the fact AliLib uses Blade & Sorcery assemblies the best way to work with the project is to clone it into Blade & Sorcery/BladeAndSorcery_Data/StreamingAssets.
Features
For a full list of features, check the Wiki.
MSBuild Integration
<PropertyGroup>
<ModPath>$(ProjectDir)..\..\Mods\AliLibTest</ModPath>
</PropertyGroup>
Easier Addressables
[Addressable("ProjectionSorcery.GlassSpawn")]
public static AudioClip? MyClip { get; set; }
AddressableLibrary.LoadCachedAssetAsync<Texture2D>(iconAddress, (text) => matInstance.SetTexture("_Sprite", text));
Garbage Collection
// A Garbage-Collected native object (SmartObject)
SmartObject<Material> mat = renderer.material;
Exported Strings
[ExportedString("Test/MyText.txt")]
public const string MyAsset = "Hello, World!";
Mod Events
public ModEvent MyEvent { get; set; } = new ModEvent();
/// <inheritdoc />
public override void ScriptUpdate()
{
base.ScriptUpdate();
MyEvent.Invoke();
MyEvent.Cancelled = true;
if (MyClip != null && Platform.IsPCVR)
{
Debug.Log($"[AliLib] {MyClip.length}");
}
}
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. 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.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AliLib.Core:
| Package | Downloads |
|---|---|
|
AliLib.Analyzer
A Blade & Sorcery Modding Library designed to promote easier, more modular scripted mods. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 0.5.2 | 123 | 4/19/2026 | |
| 0.5.1 | 148 | 4/18/2026 | |
| 0.5.0 | 102 | 4/18/2026 | |
| 0.4.8 | 112 | 4/17/2026 | |
| 0.4.7 | 112 | 4/17/2026 | |
| 0.4.6 | 109 | 4/17/2026 | |
| 0.4.5 | 112 | 4/16/2026 | |
| 0.4.4 | 109 | 4/16/2026 | |
| 0.4.3 | 108 | 4/15/2026 | |
| 0.4.2 | 115 | 4/15/2026 | |
| 0.4.1 | 115 | 4/15/2026 | |
| 0.4.0 | 123 | 4/15/2026 | |
| 0.3.6 | 108 | 4/14/2026 | |
| 0.3.5 | 120 | 4/14/2026 | |
| 0.3.4 | 104 | 4/14/2026 | |
| 0.3.3 | 120 | 4/14/2026 | |
| 0.3.2 | 115 | 4/14/2026 | |
| 0.3.1 | 110 | 4/14/2026 | |
| 0.3.0 | 116 | 4/13/2026 | |
| 0.2.4 | 107 | 4/10/2026 |