rollback module
Rollback netcode from a script's side. input reads this tick's input, real or predicted; is_resimulating is true when a tick runs again after a late input.
이 페이지의 내용
Rollback netcode from a script's side. input reads this tick's input, real or predicted; is_resimulating is true when a tick runs again after a late input.
2 functions, 0 constants. Scripts reach it as rollback::.
Functions
Argument kinds are the script values a call passes: node is a node handle, any a table or value of any kind, fn a callback.
| function | acts on | what it does |
|---|---|---|
input(int) -> any |
— | What that player is doing on the tick being simulated, real or predicted; nil outside a session or for a player it does not know. |
is_resimulating() -> any |
— | Whether this tick is a re-run of one already simulated, so a script can skip anything it must not do twice. |