Remove camelCase module functions (setScale, findAll, getMetrics, setDevConsole), closes #304
Breaking API change: removes 4 camelCase function aliases from the mcrfpy module. The snake_case equivalents (set_scale, find_all, get_metrics, set_dev_console) remain and are the canonical API going forward. - Removed setScale, findAll, getMetrics, setDevConsole from mcrfpyMethods[] - Updated game scripts to use snake_case names - Updated test scripts to use snake_case names - Removed camelCase entries from type stubs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9ca79baec8
commit
e7462e37a3
7 changed files with 244 additions and 63 deletions
|
|
@ -42,7 +42,7 @@ def collect_metrics(timer, runtime):
|
|||
return
|
||||
|
||||
# Collect sample
|
||||
m = mcrfpy.getMetrics()
|
||||
m = mcrfpy.get_metrics()
|
||||
metrics_samples.append({
|
||||
'frame_time': m['frame_time'],
|
||||
'avg_frame_time': m['avg_frame_time'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue