Skip to content

five-on-it / packages/sim/src/drag / stashBody

Function: stashBody() ​

stashBody(sim, eid, dumpster): void

Defined in: packages/sim/src/drag.ts:164

Hides the body a character drags in a dumpster (stash, the key held at it): out of the world for good, its dumpster remembered, the dumpster's stashed event. A client's twin of the body waits for the server's word.

Parameters ​

sim ​

SimWorld

eid ​

number

dumpster ​

number

Returns ​

void