Fcarstat.net
0.1.2-preview
dotnet add package Fcarstat.net --version 0.1.2-preview
NuGet\Install-Package Fcarstat.net -Version 0.1.2-preview
<PackageReference Include="Fcarstat.net" Version="0.1.2-preview" />
paket add Fcarstat.net --version 0.1.2-preview
#r "nuget: Fcarstat.net, 0.1.2-preview"
// Install Fcarstat.net as a Cake Addin #addin nuget:?package=Fcarstat.net&version=0.1.2-preview&prerelease // Install Fcarstat.net as a Cake Tool #tool nuget:?package=Fcarstat.net&version=0.1.2-preview&prerelease
fcarstat.net
fcarstat is a .NET Standard library designed to make it easier to consume telemetry data from Forza Horizon 5 (and possibly 4, currently untested). Please note that while this is a .NET Standard library, it requires that the platform you use it on is compatible with the UDP Client. Some platforms (e.g. Blazor WASM) will not work.
Versioning/ Changes
Until version 1.0.0, breaking changes may be shipped in any version. While I will try to avoid this, it may happen due to rapid development and changes in strategy. After version 1.0.0, standard versioning practices will be followed with 0.0.x changes having patches 0.x.0 changes containing additive changes, and x.0.0 changes containing breaking changes. Please use caution when upgrading to preview packages and to major versions.
Usage
Basic Usage
ForzaHorizonClient
implements IDisposable, plan accordingly.
public void Main()
{
using ForzaHorizonClient client = new ForzaHorizonClient();
client.ReceivedTelemetryData += Client_ReceivedTelemetryData;
// If using something like a console app, you will need to add something (like a loop) to keep your code running while the client listens for new data asynchronously.
}
private void Client_ReceivedTelemetryData(object sender, Fcarstat.TelemetryPacket packet)
{
// Process new data here
}
Custom Port
By default the client will use port 5005. If you have a conflict, you can pass a custom port.
int port = 5006;
ForzaHorizonClient client = new ForzaHorizonClient(port);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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. |
.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
- System.Numerics.Vectors (>= 4.5.0)
-
net6.0
- System.Numerics.Vectors (>= 4.5.0)
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 |
---|---|---|
0.1.2-preview | 157 | 12/19/2021 |
0.1.1-preview | 142 | 11/28/2021 |