def registration_matches

bendvy-ecs-core@0.1.0.3 · world.bend:338

import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base

338# Check retained id, name and exact ordered access strings while returning World.
339# No sorting/normalization creates extra authority or verifies arbitrary callbacks.
340def registration_matches(~S: Data,~C: Type,~R: Type,~E: Data,world: World<S,C,R,E>,+id: U32,+name: String,+access: List<&2,String>) -> World<S,C,R,E> & Bool:
341  match world:
342    case World{+namespace,allocator,store,resource,+events,pending,+registrations,+nextSystemId,+clock,lifecycle}: (World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock,lifecycle},registration_list_matches(registrations,id,name,access))

Uses (8)

Used by (2)