Class ManagedGameObject
A base class used to represent a game object with a managed type.
Inheritance
ManagedGameObject
Inherited Members
Namespace: Microsoft.XboxStudios .GameStateTracker .Generic
Assembly: GameStateTracker.Generic.Managed.dll
Syntax
public class ManagedGameObject : ManagedGameObjectBase, IGameObject, INotifyPropertyChanged
Remarks
Public fields and properties are automatically registered as game properties.
However, if those members have the Game
Constructors
View SourceManagedGameObject(IGameObject)
Initializes a new instance of the Managed
Declaration
public ManagedGameObject(IGameObject gameObject)
Parameters
| Type | Name | Description |
|---|---|---|
| IGame |
gameObject | The game object to clone. |
ManagedGameObject(in ObjectInfo)
Initializes a new instance of the Managed
Declaration
public ManagedGameObject(in ObjectInfo info)
Parameters
| Type | Name | Description |
|---|---|---|
| Object |
info | The game object info. |
Methods
View SourceGetInstanceProperty(string)
Gets the property info the given game class property.
Declaration
protected override PropertyInfo? GetInstanceProperty(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The property name. |
Returns
| Type | Description |
|---|---|
| Property |
The property info. |