Query.each_rw_read_resource: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/query.bend as Query Lines 125-130 of bendvy-ecs-core@0.1.0.4/query.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/query.bend&start_line=125&end_line=130 import Base import world.bend as W import column.bend as Col import component.bend as Cmp import transaction.bend as T import provider.bend as Pv # Main RW + aux Read + resource Read, with no other user capability grant. # Bounded query granting main component read/write, aux component read and # resource read, without other gameplay operations. Uses the same transaction # and deferred-visibility rules as each_rw_read; raw setup stays trusted. def each_rw_read_resource(~S: Data,~Store: Type,~R: Type,~E: Data,~Rest: Type,~C: Type,~V: Data,~Token: Data,~take: Store -> Rest & Col.Column,~put: Rest -> Col.Column -> Store,~project: C -> C & V,~AuxRest: Type,~AuxC: Type,~AuxV: Data,~AuxToken: Data,~aux_take: Store -> AuxRest & Col.Column,~aux_put: AuxRest -> Col.Column -> Store,~aux_project: AuxC -> AuxC & AuxV,~RV: Data,~resource_project: R -> R & RV,~Payload: Type,~populate: W.World -> W.Handle -> Payload -> W.World,~clear: Store -> W.Handle -> Store,~A: Data,~U: Data,~body: @-H: Type -> @-get: (H -> H & Cmp.Access) -> @-set: (H -> C -> H) -> @-aux: (H -> H & Cmp.Access) -> @-resource_get: (H -> H & RV) -> A -> W.Handle -> H -> H & T.Outcome,mainFamily: Cmp.Family,auxFamily: Cmp.Family,mode: Selection,world: W.World,args: A) -> T.Returned,Pv.Error>: each_rw_read(~S,~Store,~R,~E,~Rest,~C,~V,~Token,~take,~put,~project,~AuxRest,~AuxC,~AuxV,~AuxToken,~aux_take,~aux_put,~aux_project,~RV,~resource_project,~Payload,~populate,~clear,~A,~U,~Pv.component_body(~S,~C,~V,~AuxV,~RV,~R,~E,~Payload,~A,~U,~body),mainFamily,auxFamily,mode,world,args) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/column.bend&name=Column https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&name=Access https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/component.bend&name=Family https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/provider.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/provider.bend&name=component_body https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/query.bend&name=Selection https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/query.bend&name=each_rw_read https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Outcome https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Returned https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=Handle https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/world.bend&name=World