BSGameLib.Core
1.0.3-preview
dotnet add package BSGameLib.Core --version 1.0.3-preview
NuGet\Install-Package BSGameLib.Core -Version 1.0.3-preview
<PackageReference Include="BSGameLib.Core" Version="1.0.3-preview" />
<PackageVersion Include="BSGameLib.Core" Version="1.0.3-preview" />
<PackageReference Include="BSGameLib.Core" />
paket add BSGameLib.Core --version 1.0.3-preview
#r "nuget: BSGameLib.Core, 1.0.3-preview"
#:package BSGameLib.Core@1.0.3-preview
#addin nuget:?package=BSGameLib.Core&version=1.0.3-preview&prerelease
#tool nuget:?package=BSGameLib.Core&version=1.0.3-preview&prerelease
BSGameLib.Core
The few types every BSGameLib package and a game's shared code agree on. You don't need to reference it: it comes in with whichever BSGameLib package you add.
IIdentifiable<TKey>,INameableandIDescribable, for a game's domain types.BSGameLib.Server's repositories storeIIdentifiable<TKey>entities.DoNotRegisterAttribute, which keeps a class, or a whole assembly, out of whatBSGameLib.Serverregisters by scanning assemblies and whatBSGameLib.Networkingdiscovers as packets.- Extension methods for collections, enums, dates, strings and types.
using BSGameLib.Core;
using BSGameLib.Core.Attributes;
var health = 120.Clamp(0, 100); // 100
var day = "Monday".ToEnum<DayOfWeek>();
[DoNotRegister]
public class DebugPacket { }
public class Item : IIdentifiable<long>, INameable
{
public long Id { get; set; }
public string Name { get; set; }
}
Documentation: https://docs.burningstormstudios.com/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on BSGameLib.Core:
| Package | Downloads |
|---|---|
|
BSGameLib.Game
A 2D game engine for .NET on SDL3, with Vulkan and OpenGL renderers, shaders compiled at build, content, input, audio, localization and Dear ImGui. |
|
|
BSGameLib.Networking
Client and server networking for games over QUIC: plain-class packets, reliable and unreliable delivery, server certificate pinning, on Windows, Linux and macOS with nothing to install. |
|
|
BSGameLib.Chat
A chat and slash-command engine for games: commands from a fluent builder or attributes, typed parameters, command groups, token replacement and tab completion. |
|
|
BSGameLib.Server
A dedicated game server host on Microsoft.Extensions.Hosting: finds your game's handlers and services, registers them for dependency injection, listens over QUIC and runs a fixed-step game loop, as a console app or a systemd or Windows service. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.3-preview | 64 | 11/9/2026 |