-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add analyzers * Add analyzers * Added more advanced event cancellation. * Fix * Added manual handling of preauth event * Update API * Fix registering events and add missing parameters * Add nuget package to analyzers project * Update csproj * Fix event not accepting null parameters * Fixes in code, add commands, add support for hostings. * Update template plugin event response. * Update to latest 12.0.0 changes. * Update, add new events, give item * Fix spelling * Docs * Update docs * Update * Update event manager * Add option to get handler of plugin, add debug mode, change most logs into debug ones * Multiple configs support * Add IsDisarmed, DisarmedBy to Player.cs * Update docs * Fix template plugin * Update NwPluginAPI.sln * Update NwPluginAPI.sln * Add dependencies check after loading plugin assembly * Update analyzers * Update * Fix Co-authored-by: Łukasz Jurczyk <[email protected]>
- Loading branch information
1 parent
0f58d1f
commit 6255c66
Showing
6 changed files
with
45 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{3D50BC79-9168-47F3-9805-E0D7502916DF}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>NwPluginAPI.Docs</RootNamespace> | ||
<AssemblyName>NwPluginAPI.Docs</AssemblyName> | ||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<Deterministic>true</Deterministic> | ||
<NuGetPackageImportStamp> | ||
</NuGetPackageImportStamp> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="api\index.md" /> | ||
<None Include="articles\intro.md" /> | ||
<None Include="articles\toc.md" /> | ||
<None Include="docfx.json" /> | ||
<None Include="index.md" /> | ||
<None Include="packages.config" /> | ||
<None Include="templates\singulinkfx\layout\_master.tmpl" /> | ||
<None Include="templates\singulinkfx\partials\footer.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\partials\head.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\partials\li.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\partials\logo.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\partials\namespace.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\partials\navbar.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\partials\scripts.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\partials\searchResults.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\partials\toc.tmpl.partial" /> | ||
<None Include="templates\singulinkfx\toc.html.tmpl" /> | ||
<None Include="toc.yml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="images\favicon.ico" /> | ||
<Content Include="images\logo.jpg" /> | ||
<Content Include="templates\singulinkfx\styles\config.css" /> | ||
<Content Include="templates\singulinkfx\styles\discord.css" /> | ||
<Content Include="templates\singulinkfx\styles\down-arrow.svg" /> | ||
<Content Include="templates\singulinkfx\styles\jquery.twbsPagination.js" /> | ||
<Content Include="templates\singulinkfx\styles\main.css" /> | ||
<Content Include="templates\singulinkfx\styles\main.js" /> | ||
<Content Include="templates\singulinkfx\styles\singulink.css" /> | ||
<Content Include="templates\singulinkfx\styles\singulink.js" /> | ||
<Content Include="templates\singulinkfx\styles\url.min.js" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="..\packages\docfx.console.2.59.4\build\docfx.console.targets" Condition="Exists('..\packages\docfx.console.2.59.4\build\docfx.console.targets')" /> | ||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
<PropertyGroup> | ||
<ErrorText>Ten projekt zawiera odwołania do pakietów NuGet, których nie ma na tym komputerze. Użyj przywracania pakietów NuGet, aby je pobrać. Aby uzyskać więcej informacji, zobacz http://go.microsoft.com/fwlink/?LinkID=322105. Brakujący plik: {0}.</ErrorText> | ||
</PropertyGroup> | ||
<Error Condition="!Exists('..\packages\docfx.console.2.59.4\build\docfx.console.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\docfx.console.2.59.4\build\docfx.console.targets'))" /> | ||
</Target> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net48</TargetFramework> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<OutputType>Library</OutputType> | ||
|
||
<Configurations>Release</Configurations> | ||
<Platforms>AnyCPU</Platforms> | ||
|
||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="docfx.console" Version="2.59.4"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,5 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// Ogólne informacje o zestawie są kontrolowane poprzez następujący | ||
// zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje | ||
// powiązane z zestawem. | ||
[assembly: AssemblyTitle("NwPluginAPI.Docs")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("NwPluginAPI.Docs")] | ||
[assembly: AssemblyCopyright("Copyright © 2022")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Ustawienie elementu ComVisible na wartość false sprawia, że typy w tym zestawie są niewidoczne | ||
// dla składników COM. Jeśli potrzebny jest dostęp do typu w tym zestawie z | ||
// COM, ustaw wartość true dla atrybutu ComVisible tego typu. | ||
[assembly: ComVisible(false)] | ||
|
||
// Następujący identyfikator GUID jest identyfikatorem biblioteki typów w przypadku udostępnienia tego projektu w modelu COM | ||
[assembly: Guid("3d50bc79-9168-47f3-9805-e0d7502916df")] | ||
|
||
// Informacje o wersji zestawu zawierają następujące cztery wartości: | ||
// | ||
// Wersja główna | ||
// Wersja pomocnicza | ||
// Numer kompilacji | ||
// Poprawka | ||
// | ||
// Możesz określić wszystkie wartości lub użyć domyślnych numerów kompilacji i poprawki | ||
// przy użyciu symbolu „*”, tak jak pokazano poniżej: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] | ||
[assembly: Guid("3d50bc79-9168-47f3-9805-e0d7502916df")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters