five-on-it / packages/sim/src/gear / adoptGear
Function: adoptGear()
adoptGear(
sim,eid,told):void
Defined in: packages/sim/src/gear.ts:268
Takes the server's word on a character's gear (a client's twin): its armour and what it wears, and whether it is gassed or rushing, held as TOLD_HOLD says, so the prediction moves it at the pace the server does (heavy armour, the suit, an adrenaline shot).
Parameters
sim
eid
number
told
Returns
void