Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

write_model_member

Write a model member value.

Arguments

  • model_selector - the model selector
  • entity_id - the ID of the entity for which to write a member.
  • member_id - the selector of the model member to write.
  • values - the new member value.
  • layout - the model layout

Fully qualified path: dojo::storage::entity_model::write_model_member

pub fn write_model_member(
    model_selector: felt252,
    entity_id: felt252,
    member_id: felt252,
    values: Span<felt252>,
    layout: Layout,
)