Interface IGame
Represents a game within an IGameLibrary.
Namespace: Snowflake.Model.Game
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface IGame
Properties
Record
The game record that stores metadata about the game.
Declaration
IGameRecord Record { get; }
Property Value
| Type | Description |
|---|---|
| IGameRecord |
Methods
GetExtension<TExtension>()
Retrieves an extension from the IGameLibrary this game is stored in.
Declaration
TExtension GetExtension<TExtension>()
where TExtension : class, IGameExtension
Returns
| Type | Description |
|---|---|
| TExtension | The extension instance. |
Type Parameters
| Name | Description |
|---|---|
| TExtension | The type of the extension. |