ChronoClient
Public API
RegisterClientNPC(id: number, model: Model, npcType: string?)
Registers a client-side NPC for visual interpolation.
id
– Network ID assigned by ChronoServermodel
– NPC model to interpolatenpcType
(optional) – Type key inConfig.NPC_TYPES
TIP
This is automatically called when registered in NpcCache on the server.
idMap: { [number]: { ... } }
Stores the client-side replication state for all entities:
snapshot
– Circular snapshot buffer of CFramescharacter
– LinkedModel
(player or NPC)lastCFrame
– Last rendered CFrameisNPC
– Marks NPCs for fixed buffer logicnpcType
– Type used for interpolation config
playerTickRates: { [number]: number }
Tracks per-entity tick rates dynamically received from the server.
BufferTracker
Reference to the InterpolationBuffer instance used to calculate dynamic interpolation delays.
GetAllNetworkIds() → { number }
Returns a list of all network IDs currently tracked on the client.
Notes
- Player replication is fully automatic after requiring ChronoClient
- NPCs must be manually registered with
RegisterClientNPC()
- idMap can be read for debugging or rendering purposes
- Motion is fully decoupled from Roblox physics buffering