Interface IClassManager
An interface for associating classes with custom types and property names.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Generic
Assembly: GameStateTracker.Generic.Abstractions.dll
Syntax
public interface IClassManager : IPropertyManager, ITypeChanger<IGameObject>, IClassDataProvider
Properties
View SourceClasses
Gets the collection of known class names.
Declaration
IReadOnlyCollection<string> Classes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyCollection<string> |
Methods
View SourceHasClass(string?)
Determines if the class manager knows about the given class.
Declaration
bool HasClass(string? className)
Parameters
| Type | Name | Description |
|---|---|---|
| string | className | The class name. |
Returns
| Type | Description |
|---|---|
| bool | Whether or not the class manager knows about the class. |
SetBaseClass(string, string)
Sets the base class name for a subclass.
Declaration
bool SetBaseClass(string className, string subclass)
Parameters
| Type | Name | Description |
|---|---|---|
| string | className | The base class name. |
| string | subclass | The subclass name. |
Returns
| Type | Description |
|---|---|
| bool | True if the subclass was not previously known. |