Show / Hide Table of Contents

Interface IGameObjectCache

An interface for caching game objects according to class name and object name.

Inherited Members
IClassObjectCache<ObjectInfo, IGameObject>.GetClassAge(ObjectInfo)
IClassObjectCache<ObjectInfo, IGameObject>.GetClassAge(ObjectInfo, DateTime)
IClassObjectCache<ObjectInfo, IGameObject>.RefreshClass(ObjectInfo)
IClassObjectCache<ObjectInfo, IGameObject>.RefreshClass(ObjectInfo, DateTime)
IClassObjectCache<ObjectInfo, IGameObject>.ClearClass(ObjectInfo)
IObjectCache<ObjectInfo, IGameObject>.GetObjectAge(ObjectInfo)
IObjectCache<ObjectInfo, IGameObject>.GetObjectAge(ObjectInfo, DateTime)
IObjectCache<ObjectInfo, IGameObject>.RefreshObject(ObjectInfo)
IObjectCache<ObjectInfo, IGameObject>.RefreshObject(ObjectInfo, DateTime)
ICollection<IGameObject>.Add(IGameObject)
ICollection<IGameObject>.Clear()
ICollection<IGameObject>.Contains(IGameObject)
ICollection<IGameObject>.CopyTo(IGameObject[], int)
ICollection<IGameObject>.Remove(IGameObject)
ICollection<IGameObject>.Count
ICollection<IGameObject>.IsReadOnly
IEnumerable<IGameObject>.GetEnumerator()
IDictionary<ObjectInfo, IGameObject>.Add(ObjectInfo, IGameObject)
IDictionary<ObjectInfo, IGameObject>.ContainsKey(ObjectInfo)
IDictionary<ObjectInfo, IGameObject>.Remove(ObjectInfo)
IDictionary<ObjectInfo, IGameObject>.TryGetValue(ObjectInfo, out IGameObject)
IDictionary<ObjectInfo, IGameObject>.this[ObjectInfo]
IDictionary<ObjectInfo, IGameObject>.Keys
IDictionary<ObjectInfo, IGameObject>.Values
ICollection<KeyValuePair<ObjectInfo, IGameObject>>.Add(KeyValuePair<ObjectInfo, IGameObject>)
ICollection<KeyValuePair<ObjectInfo, IGameObject>>.Clear()
ICollection<KeyValuePair<ObjectInfo, IGameObject>>.Contains(KeyValuePair<ObjectInfo, IGameObject>)
ICollection<KeyValuePair<ObjectInfo, IGameObject>>.CopyTo(KeyValuePair<ObjectInfo, IGameObject>[], int)
ICollection<KeyValuePair<ObjectInfo, IGameObject>>.Remove(KeyValuePair<ObjectInfo, IGameObject>)
ICollection<KeyValuePair<ObjectInfo, IGameObject>>.Count
ICollection<KeyValuePair<ObjectInfo, IGameObject>>.IsReadOnly
IEnumerable<KeyValuePair<ObjectInfo, IGameObject>>.GetEnumerator()
IQueryResultConsumer<IGameObject>.MergeResult(in QueryResult)
Namespace: Microsoft.XboxStudios.GameStateTracker.Cache
Assembly: GameStateTracker.Abstractions.dll
Syntax
public interface IGameObjectCache : IClassObjectCache<ObjectInfo, IGameObject>, IObjectCache<ObjectInfo, IGameObject>, ICollection<IGameObject>, IEnumerable<IGameObject>, IDictionary<ObjectInfo, IGameObject>, ICollection<KeyValuePair<ObjectInfo, IGameObject>>, IEnumerable<KeyValuePair<ObjectInfo, IGameObject>>, IEnumerable, IQueryResultConsumer<IGameObject>

Events

View Source

OnObjectCreated

An event which fires when new query results cause an object to be created.

Declaration
event EventHandler<IGameObject> OnObjectCreated
Event Type
Type Description
EventHandler<IGameObject>

Extension Methods

IGameObjectCacheExtensions.ClearClass(IGameObjectCache, string)
IGameObjectCacheExtensions.GetClassAge(IGameObjectCache, string?)
IGameObjectCacheExtensions.GetClassAge(IGameObjectCache, string?, DateTime)
IGameObjectCacheExtensions.RefreshClass(IGameObjectCache, string)
IGameObjectCacheExtensions.RefreshClass(IGameObjectCache, string, DateTime)
IQueryResultConsumerExtensions.MergeResults<T>(IQueryResultConsumer<T>, IEnumerable<QueryResult>?)
  • View Source
In this article
Back to top Generated by DocFX