entity_kit v0.3.0 Manganese.EntityKit.Structs.EntitiesUpdate

Link to this section Summary

Link to this section Types

Link to this type

t()

t() :: %Manganese.EntityKit.Structs.EntitiesUpdate{
  entities: Manganese.EntityKit.Structs.EntitiesCollection.t(),
  removed_entities: Manganese.EntityKit.Structs.EntityReferencesCollection.t()
}

Link to this section Functions

Link to this function

merge(entities_update1, entities_update2)

merge(t(), t()) :: t()
Link to this function

new()

new() :: t()

An empty entities update.

Link to this function

put_entities(entities_update, entity_type, entities)

put_entities(t(), atom(), [term()]) :: t()
Link to this function

put_entities_collection(entities_update, entities_collection)

put_entities_collection(t(), Manganese.EntityKit.Structs.EntitiesCollection.t()) ::
  t()
Link to this function

put_entity(entities_update, entity_type, entity)

put_entity(t(), atom(), term()) :: t()
Link to this function

put_removed_entities(entities_update, entity_type, removed_entities)

put_removed_entities(t(), atom(), [term()]) :: t()
Link to this function

put_removed_entity(entities_update, entity_type, removed_entity)

put_removed_entity(t(), atom(), term()) :: t()
Link to this function

put_removed_entity_id(entities_update, entity_type, removed_entity_id)

put_removed_entity_id(t(), atom(), pos_integer()) :: t()
Link to this function

put_removed_entity_ids(entities_update, entity_type, removed_entity_ids)

put_removed_entity_ids(t(), atom(), [pos_integer()]) :: t()
Link to this function

put_removed_entity_references_collection(entities_update, removed_entity_references_collection)

put_removed_entity_references_collection(
  t(),
  Manganese.EntityKit.Structs.EntityReferencesCollection.t()
) :: t()