def component_body

bendvy-ecs-core@0.1.0.4 · provider.bend:110

import bendvy-ecs-core@0.1.0.4/provider.bend as Provider
import Base
import world.bend as W
import component.bend as Cmp
import transaction.bend as T

110# Restricted grant bundle: no resource replacement, event publication, spawn or
111# despawn operation is handed to the universally quantified user callback.
112def component_body(~S: Data,~C: Type,~V: Data,~AuxV: Data,~RV: Data,~R: Type,~E: Data,~Payload: Type,~A: Data,~U: Data,~body: @-H: Type -> @-get: (H -> H & Cmp.Access<V>) -> @-set: (H -> C -> H) -> @-aux: (H -> H & Cmp.Access<AuxV>) -> @-resource_get: (H -> H & RV) -> A -> W.Handle<S> -> H -> H & T.Outcome<U>,~H: Type,~get: H -> H & Cmp.Access<V>,~set: H -> C -> H,~aux: H -> H & Cmp.Access<AuxV>,~resource_get: H -> H & RV,~resource_set: H -> R -> H,~emit: H -> E -> H,~despawn: H -> H,~spawn: H -> Payload -> H & W.Reservation<S>,args: A,handle: W.Handle<S>,ctx: H) -> H & T.Outcome<U>:
113  body(H,get,set,aux,resource_get,args,handle,ctx)

Uses (5)

Used by (1)