BKickClientLib 1.0.1
dotnet add package BKickClientLib --version 1.0.1
NuGet\Install-Package BKickClientLib -Version 1.0.1
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="BKickClientLib" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BKickClientLib" Version="1.0.1" />
<PackageReference Include="BKickClientLib" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BKickClientLib --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BKickClientLib, 1.0.1"
#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.
#addin nuget:?package=BKickClientLib&version=1.0.1
#tool nuget:?package=BKickClientLib&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BKickClientLib ist eine .NET-Client-Bibliothek zum Aufbau eines Teams zum Spielen von B-Kick, einem Client-Server-Spiel, das von der Universität Bayreuth entwickelt wurde. https://b-kick.physik.uni-bayreuth.de/
So funktioniert's:
- Kompilieren Sie Ihr Projekt.
- Kopieren oder benennen Sie "AppSettings-Template.json" in "AppSettings.json" um.
- Ändern Sie die Anmeldedaten und die Spielpaarungen in der Datei.
- Starten Sie Ihr Projekt!
Spielparungen in AppSettings.json
- IsEnabled : Ein Flag, das angibt, ob dieses Spiel gespielt wird, wenn PlayAll aufgerufen wird.
- TeamType : Der vollständige Name der Klasse (einschließlich Namespace) des zu spielenden Teams.
- Opponent : Der Name des Gegners. Verwenden Sie "-", wenn Sie gegen Ihr eigenes Team spielen.
- OpponentTeamType : Nur wenn "-" in Opponent verwendet wird. Der vollständige Name der Klasse (einschließlich Namespace) Ihres anderen Teams.
Beispielcode
using System;
using BKickClientLib;
namespace SampleBKickClientApp
{
internal class Program
{
private static void Main( string[] args )
{
try
{
BKickClient client = new();
// Um alle in der Konfigurationsdatei aktivierten Spiele zu spielen.
client.PlayAll();
// oder um ein bestimmtes Spiel in der Konfigurationsdatei zu spielen.
//client.Play( 0 );
}
catch ( Exception e )
{
Console.WriteLine( e );
}
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- GlmSharp-netstandard (>= 0.9.8.1)
- Unity.Container (>= 5.11.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.