Class GameClassAttribute
An attribute used to register game class names with the class manager.
Inherited Members
Namespace: Microsoft.XboxStudios .GameStateTracker .Generic
Assembly: GameStateTracker.Generic.Abstractions.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class GameClassAttribute : Attribute
Remarks
Initializes a new instance of the Game
Constructors
View SourceGameClassAttribute(string)
An attribute used to register game class names with the class manager.
Declaration
public GameClassAttribute(string className)
Parameters
Type | Name | Description |
---|---|---|
string | className | The game class name. |
Remarks
Initializes a new instance of the Game
Properties
View SourceClassName
Gets the game class name.
Declaration
public string ClassName { get; }
Property Value
Type | Description |
---|---|
string |