API reference
Every export of Tickflare's two entry points, generated from the doc comments in the source.
tickflare
The server side, for your Worker.
- Rooms:
Room,LockstepRoom,reject,Rejection - Gateway and identity:
routeToRoom,routeToMatchmaker,tokenAuth,createJoinToken,verifyJoinToken - Accounts:
Accounts,AccountError - Matchmaking and results:
Matchmaker,recordMatches,recentMatches - Worlds:
shardFor,cellOf - Lockstep:
runReplay,stepThrough,seededRandom,fingerprint - Protocol:
ServerMessage,ClientMessage,CloseCode,applyPatch,diff
tickflare/client
The client side, for browsers and Node.