measureLatency
measureLatency(
writer,character,step):void
Adds the lag of an action of the player’s that names step, landing
at the room’s step now, to the player’s latency. The room measures
each shot; a game’s own action that names the step the player’s screen
showed may add its own.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
Authority |
character |
Entity |
step |
number |
Returns
Section titled “Returns”void