NullStorage<T>

Class

Namespace: Ignis.Storage

Base types:

Declared in: Ignis.Storage


A storage that doesn't store any values and throws exceptions on almost all actions. Useful for testing purposes or when a component is just an empty 'tag' (has no value).

Type parameters

T

Component type

Members

Constructor

  • NullStorage()
  • Method

  • ForEach<TState>(Action<int, T, TState>, TState)
  • Get(int)
  • GetCount()
  • GetEntityIds()
  • GetValue(int)
  • GetValues()
  • GetView()
  • Process(Func<int, T, T>)
  • Process<TState>(Func<int, T, TState, T>, TState)
  • Read<TState>(ComponentReader<T, TState>, TState)
  • RemoveComponentFromStorage(int)
  • StoreComponentForEntity(int)
  • Update(int, object)
  • Update(int, T)
  • UpdateCurrent(T)

  • Back to index