Show / Hide Table of Contents

Interface IGameObject

An interface representing a game object containing properties with string keys and values.

Inherited Members
INotifyPropertyChanged.PropertyChanged
Namespace: Microsoft.XboxStudios.GameStateTracker
Assembly: GameStateTracker.Abstractions.dll
Syntax
public interface IGameObject : INotifyPropertyChanged

Properties

View Source

GameState

Gets or sets the game state associated with the game object.

Declaration
IGameState? GameState { get; set; }
Property Value
Type Description
IGameState
View Source

Info

Gets all of the necessary information to identify the object.

Declaration
ObjectInfo Info { get; }
Property Value
Type Description
ObjectInfo
View Source

this[string]

Gets or sets the value of a property with the given name.

Declaration
object? this[string key] { get; set; }
Parameters
Type Name Description
string key

The property name.

Property Value
Type Description
object

The property value, or null if no property was found.

View Source

Properties

Gets a collection of property names for the game object.

Declaration
IReadOnlyCollection<string> Properties { get; }
Property Value
Type Description
IReadOnlyCollection<string>

Extension Methods

IGameObjectExtensions.ClassName(IGameObject)
IGameObjectExtensions.InfoEquals(IGameObject, IGameObject?)
IGameObjectExtensions.InfoEquals(IGameObject, in ObjectInfo)
IGameObjectExtensions.ObjectName(IGameObject)
IGameObjectExtensions.Matches(IGameObject, IClassManager, in ObjectInfo)
  • View Source
In this article
Back to top Generated by DocFX