/** * The client Callbacks API is the REAL `@colyseus/schema` one. * * `Callbacks.get(room)` returns the legacy string-keyed strategy * (`onAdd('players', …)`, `onChange(item, …)`, `bindTo(…)`) and accepts a * `{ serializer: { decoder } }` — exactly the shape `CompatRoom` exposes — so * an authored game that calls `Callbacks.get(room)` behaves identically on the * P2P path and against a real Colyseus server. The v4 `$` proxy is * `getStateCallbacks(room)` (see `client.ts`). */ export { Callbacks } from '@colyseus/schema';