GdKirie.Platform 0.2.2

dotnet add package GdKirie.Platform --version 0.2.2
                    
NuGet\Install-Package GdKirie.Platform -Version 0.2.2
                    
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="GdKirie.Platform" Version="0.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GdKirie.Platform" Version="0.2.2" />
                    
Directory.Packages.props
<PackageReference Include="GdKirie.Platform" />
                    
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 GdKirie.Platform --version 0.2.2
                    
#r "nuget: GdKirie.Platform, 0.2.2"
                    
#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 GdKirie.Platform@0.2.2
                    
#: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=GdKirie.Platform&version=0.2.2
                    
Install as a Cake Addin
#tool nuget:?package=GdKirie.Platform&version=0.2.2
                    
Install as a Cake Tool

GdKirie.Platform

GdKirie.Platform registers the Godot side of @gd-kirie/platform on an application-owned Kirie Eventa context and exposes desktop host capabilities.

var registry = new KirieEventaJsonRegistry();
GdKiriePlatform.Register(registry);

var eventa = kirie.CreateEventaContext(registry);
var platform = GdKiriePlatform.Attach(eventa.Context, GetWindow());

Register must run before the Eventa context is created. Attach borrows the context and explicit Godot Window; disposing the returned host removes only Platform handlers. It does not dispose the context or window. Attach and disposal run on Godot's main thread, and the bound window must be a native, non-embedded window already inside the scene tree. The host disposes automatically when the bound window exits the tree.

Global shortcuts

Global shortcuts are implemented on macOS and Windows. macOS uses Carbon hot-key registration. Windows uses one lazy process-wide low-level keyboard hook and filters it to the shortcuts owned by attached Platform hosts. Windows registrations are non-exclusive and do not detect shortcuts used by another process.

Both backends emit one pressed and one released state without keyboard auto-repeat. Native events are delivered on Godot's main thread, and disposing the host removes its registrations. The Windows hook stops after the final Windows registration is removed. Linux global-shortcut backends are not yet implemented.

Product 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. 
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
0.2.2 0 9/10/2026
0.2.1 97 8/27/2026