AWJ.GameServerInfo
1.0.3
dotnet add package AWJ.GameServerInfo --version 1.0.3
NuGet\Install-Package AWJ.GameServerInfo -Version 1.0.3
<PackageReference Include="AWJ.GameServerInfo" Version="1.0.3" />
paket add AWJ.GameServerInfo --version 1.0.3
#r "nuget: AWJ.GameServerInfo, 1.0.3"
// Install AWJ.GameServerInfo as a Cake Addin #addin nuget:?package=AWJ.GameServerInfo&version=1.0.3 // Install AWJ.GameServerInfo as a Cake Tool #tool nuget:?package=AWJ.GameServerInfo&version=1.0.3
AWJ.GameServerInfo
AWJ.GameServerInfo is a NuGet package to simplify the retrieving game server info from 7 Days to Die dedicated servers.
Example usage
private readonly GameServerService service = new();
var serverInfo = await service.GetServerInfoAsync(GameHosts.ChillCatWar3zuk);
GameHost = serverInfo.GameHost;
CurrentTime = DateTime.Now;
LastUpdated = CurrentTime;
CurrentServerTime = serverInfo.CurrentServerTime;
CurrentPlayers = serverInfo.CurrentPlayers;
DayNightLength = serverInfo.DayNightLength;
Previous = serverInfo.Previous;
Next = serverInfo.Next;
RealTime = CurrentTime?.AddMinutes(serverInfo.RealMinutes);
UDP protocol
Internally this is using the UDP protocol to communicate directly with the game server. Because of this, you cannot use this in the browser such as a Blazor web assembly.
You can use this package with Blazor server-side rendering. But, I do not believe that there is an inexpensive way to host an application using UDP on Azure.
It can be used with other mobile and Windows technologies such as with Maui.
SteamQuery.NET
SteamQuery.NET NuGet package is being used to handle the network traffic and binary translations.
Product | Versions 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 was computed. 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. |
-
net8.0
- SteamQuery.NET (>= 1.1.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.