Class GameObjectClassDataProvider
An provider of game class names and properties which uses the GameClass and GameProperty attributes.
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Generic
Assembly: GameStateTracker.Generic.dll
Syntax
public class GameObjectClassDataProvider : IClassDataProvider
Methods
View SourceGetBaseClassNames(TypeInfo)
Gets the base class names for game objects associated with the type.
Declaration
public IEnumerable<string> GetBaseClassNames(TypeInfo typeInfo)
Parameters
Type | Name | Description |
---|---|---|
TypeInfo | typeInfo | The type info. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumerable of base class names. |
GetClassNames(TypeInfo?)
Gets the base class names for game objects associated with the type.
Declaration
public static IEnumerable<string> GetClassNames(TypeInfo? typeInfo)
Parameters
Type | Name | Description |
---|---|---|
TypeInfo | typeInfo | The type info. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumerable of base class names. |
GetProperties(TypeInfo)
Gets the properties to retrieve for the given type.
Declaration
public IEnumerable<string> GetProperties(TypeInfo typeInfo)
Parameters
Type | Name | Description |
---|---|---|
TypeInfo | typeInfo | The game object type info. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumeration of properties to retrieve. |