ManiaAPI.NadeoAPI.Extensions.Gbx 2.4.0

dotnet add package ManiaAPI.NadeoAPI.Extensions.Gbx --version 2.4.0
                    
NuGet\Install-Package ManiaAPI.NadeoAPI.Extensions.Gbx -Version 2.4.0
                    
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="ManiaAPI.NadeoAPI.Extensions.Gbx" Version="2.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ManiaAPI.NadeoAPI.Extensions.Gbx" Version="2.4.0" />
                    
Directory.Packages.props
<PackageReference Include="ManiaAPI.NadeoAPI.Extensions.Gbx" />
                    
Project file
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 ManiaAPI.NadeoAPI.Extensions.Gbx --version 2.4.0
                    
#r "nuget: ManiaAPI.NadeoAPI.Extensions.Gbx, 2.4.0"
                    
#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.
#:package ManiaAPI.NadeoAPI.Extensions.Gbx@2.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ManiaAPI.NadeoAPI.Extensions.Gbx&version=2.4.0
                    
Install as a Cake Addin
#tool nuget:?package=ManiaAPI.NadeoAPI.Extensions.Gbx&version=2.4.0
                    
Install as a Cake Tool

ManiaAPI.NadeoAPI.Extensions.Gbx

NuGet

Connects ManiaAPI.NadeoAPI with GBX.NET features to provide convenient map upload and map update.

Features

  • Upload a map
  • Update a map

Example

A simple example to show how you can update a map without having to manually specify the map ID:

using ManiaAPI.NadeoAPI;
using ManiaAPI.NadeoAPI.Extensions.Gbx;

var ns = new NadeoServices();
await ns.AuthorizeAsync("mylogin", "mypassword", AuthorizationMethod.UbisoftAccount);

// Update the map (no leaderboard lost!)
await ns.UpdateMapAsync("Path/To/Map.Map.Gbx");

Map ID is required to update a map, but you don't have to specify it manually. The extension will check the map UID and fetch the map ID from NadeoServices.

You can also pass the CGameCtnChallenge instance directly, but it is not recommended as the object is re-serialized and some data might change or corrupt (rarely, but still possible).

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 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.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.4.0 126 9/18/2025
2.2.0 222 4/6/2025
2.1.0 470 3/24/2025
2.0.0 242 3/23/2025
2.0.0-beta5 144 3/21/2025
2.0.0-beta4 220 12/21/2024
2.0.0-beta3 88 12/21/2024
2.0.0-alpha6 153 2/9/2024
2.0.0-alpha5 126 1/19/2024
2.0.0-alpha10 104 6/19/2024