GameFramework.Pro
1.2.9
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package GameFramework.Pro --version 1.2.9
NuGet\Install-Package GameFramework.Pro -Version 1.2.9
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="GameFramework.Pro" Version="1.2.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GameFramework.Pro" Version="1.2.9" />
<PackageReference Include="GameFramework.Pro" />
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 GameFramework.Pro --version 1.2.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GameFramework.Pro, 1.2.9"
#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 GameFramework.Pro@1.2.9
#: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=GameFramework.Pro&version=1.2.9
#tool nuget:?package=GameFramework.Pro&version=1.2.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Overview
The framework that allows you to design high-quality architecture of your game project.
Reference
GameFramework.Pro
// Program
namespace GameFramework.Pro;
public abstract class ProgramBase : DisposableBase {
public ProgramBase();
public override void Dispose();
}
// UI
namespace GameFramework.Pro;
public abstract class ThemeBase : DisposableBase {
protected StateMachine<State<PlayListBase>, ThemeBase> Machine { get; }
public ThemeBase();
public override void Dispose();
}
public abstract class ScreenBase : DisposableBase {
protected TreeMachine<Node2<WidgetBase>, ScreenBase> Machine { get; }
public ScreenBase();
public override void Dispose();
}
public abstract class PlayListBase : DisposableBase {
public State<PlayListBase> State { get; }
public PlayListBase();
public override void Dispose();
protected virtual void OnActivate(object? argument);
protected virtual void OnDeactivate(object? argument);
}
public abstract class WidgetBase : DisposableBase {
public Node2<WidgetBase> Node { get; }
public WidgetBase();
public override void Dispose();
protected virtual void Sort(List<Node2<WidgetBase>> children);
protected virtual void OnActivate(object? argument);
protected virtual void OnDeactivate(object? argument);
}
public abstract class ViewableWidgetBase : WidgetBase {
protected IView View { get; init; }
public ViewableWidgetBase();
public override void Dispose();
}
public abstract class ViewableWidgetBase<TView> : ViewableWidgetBase where TView : notnull, IView {
protected new TView View { get; init; }
public ViewableWidgetBase();
public override void Dispose();
}
public abstract class ViewBase : DisposableBase, IView {
public ViewBase();
public override void Dispose();
}
public abstract class RouterBase : DisposableBase {
public RouterBase();
public override void Dispose();
}
// App
namespace GameFramework.Pro;
public abstract class ApplicationBase : DisposableBase {
public ApplicationBase();
public override void Dispose();
}
// Domain (Business, Game)
namespace GameFramework.Pro;
public abstract class GameBase : DisposableBase {
public GameBase();
public override void Dispose();
}
public abstract class PlayerBase : DisposableBase {
public PlayerBase();
public override void Dispose();
}
public abstract class EntityBase : DisposableBase {
public EntityBase();
public override void Dispose();
}
GameFramework.Pro.Extensions
// Program
namespace GameFramework.Pro.Extensions;
public abstract class ProgramBase2<TTheme, TScreen, TRouter, TApplication> : ProgramBase where TTheme : ThemeBase where TScreen : ScreenBase where TRouter : RouterBase where TApplication : ApplicationBase {
protected TTheme Theme { get; init; }
protected TScreen Screen { get; init; }
protected TRouter Router { get; init; }
protected TApplication Application { get; init; }
public ProgramBase2();
public override void Dispose();
}
// UI
namespace GameFramework.Pro.Extensions;
public abstract class ThemeBase2<TRouter, TApplication> : ThemeBase where TRouter : RouterBase where TApplication : ApplicationBase {
protected TRouter Router { get; init; }
protected TApplication Application { get; init; }
public ThemeBase2();
public override void Dispose();
}
public abstract class ScreenBase2<TRouter, TApplication> : ScreenBase where TRouter : RouterBase where TApplication : ApplicationBase {
protected TRouter Router { get; init; }
protected TApplication Application { get; init; }
public ScreenBase2();
public override void Dispose();
}
public abstract class RouterBase2<TTheme, TScreen, TApplication> : RouterBase where TTheme : ThemeBase where TScreen : ScreenBase where TApplication : ApplicationBase {
protected TTheme Theme { get; }
protected Func<TTheme> Theme_ { init; }
protected TScreen Screen { get; }
protected Func<TScreen> Screen_ { init; }
protected TApplication Application { get; init; }
public RouterBase2();
public override void Dispose();
}
Links
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. 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. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- StateMachine.Pro (>= 3.0.2)
- TreeMachine.Pro (>= 3.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.