![]() |
VOOZH | about |
dotnet add package AVIP.Core --version 1.0.9
NuGet\Install-Package AVIP.Core -Version 1.0.9
<PackageReference Include="AVIP.Core" Version="1.0.9" />
<PackageVersion Include="AVIP.Core" Version="1.0.9" />Directory.Packages.props
<PackageReference Include="AVIP.Core" />Project file
paket add AVIP.Core --version 1.0.9
#r "nuget: AVIP.Core, 1.0.9"
#:package AVIP.Core@1.0.9
#addin nuget:?package=AVIP.Core&version=1.0.9Install as a Cake Addin
#tool nuget:?package=AVIP.Core&version=1.0.9Install as a Cake Tool
AVIP.Core is the core API library for the AVIP system. It is distributed as a NuGet package and is intended to be used by developers when creating modular VIP features for AVIP.
AVIP.Core exists to:
AVIP.Core is published as a NuGet package and is consumed by feature projects.
dotnet add package AVIP.Core
You typically do not reference AVIP.Plugin or AVIP itself when authoring features — only AVIP.Core.
AVIP provides an official dotnet template to simplify feature creation.
dotnet new install avip.feature.template
dotnet new avip-feature \
--FeatureId my_feature \
--FeatureName "MyFeature" \
--Author "YourName" \
--Version 1.0.0 \
--CorePackageVersion 1.0.3
This will:
If you are not using the template:
dotnet add package AVIP.Core
namespace FeatureName
{
using AVIP.Core.Players;
using AVIP.Core.Features;
using SwiftlyS2.Shared.GameEventDefinitions;
using System.ComponentModel;
[FeatureMetadata("FeatureId", Name = "FeatureName", Author = "AVIP_Author", Description = "AVIP_Description", Version = "AVIP_Version")]
public sealed class FeatureName : BaseFeature
{
public override void Initialize()
{
Logger.Info("Initialized {0} ({1})", Name, Id);
}
public override void Release()
{
base.Release();
Logger.Info("Released {0} ({1})", Name, Id);
}
}
}
The compiled .dll can then be placed inside:
addons/swiftly/plugins/AVIP/features
and will be discovered automatically by the AVIP host.
Changes to AVIP.Core affect every feature in the ecosystem.
Contributions should:
Open an issue before submitting large or breaking changes.
Licensed under the license specified in the repository. See the LICENSE file
for details.
AVIP.Core is the contract. Features are the implementation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.