Get capacity of the ring buffer 获取环形缓冲区的容量
Clear all checkpoints 清空所有检查点
Create log subset for replay between frames 创建用于重放指定帧间隔的日志子集
Get all available checkpoints, sorted by frame 获取所有可用的检查点,按帧排序
Get checkpoint closest to target frame (but not exceeding it) 获取最接近目标帧的检查点(但不超过它)
Debug: Get save data for a specific frame 调试:获取特定帧的保存数据
Check if ring is full 检查环形缓冲区是否已满
Restore to nearest checkpoint <= targetFrame 恢复到最接近的检查点(<= targetFrame)
Target world to restore to
Target frame to rollback to
Frame number of the restored checkpoint, undefined if no suitable checkpoint found
Perform rollback to target frame using checkpoint + replay 使用检查点 + 重放执行回滚到目标帧
Get number of stored checkpoints 获取存储的检查点数量
Ring buffer for storing periodic world snapshots 用于存储定期世界快照的环形缓冲区