Jump to content

SaveBankedTable: Difference between revisions

From CMM Wiki
SaveBankedTable – created via PowerShell script (2025-11-11T21:12:30Z)
Tag: Recreated
 
m SaveBankedTable – created via PowerShell script (2026-06-24T22:27:04Z)
 
Line 1: Line 1:
{{Template:FunctionInfo|fName=          SaveBankedTable|fDescription=  Saves the current campaign banked data to a JSON file in the mission directory, formatting it as pretty-printed JSON for readability and ensuring persistence across mission reloads.|parentFile=    cmm.persistence.lua|syntax=        CMM.SaveBankedTable()|return=        nil|returnDesc=    Returns nothing.|example=        CMM.SaveBankedTable()|exampleDesc=    Saves the current CMM.BANKED table to Campaign_Bank.json in the mission directory with pretty-printed formatting.|related=        |note=          |envType= CMM}}
{{Template:FunctionInfo|fName=          SaveBankedTable|fDescription=  Saves the current campaign banked data to a JSON file in the mission directory, formatting it as pretty-printed JSON for readability and ensuring persistence across mission reloads.|parentFile=    cmm.persistence.lua|syntax=        CMM.SaveBankedTable()|return=        nil|returnDesc=    Returns nothing.|example=        CMM.SaveBankedTable()|exampleDesc=    Saves the current CMM.BANKED table to CMM.PERSISTENCE_CAMPAIGNBANK.json in the mission directory with pretty-printed formatting.|related=        |note=          |envType= CMM}}

Latest revision as of 12:27, 24 June 2026

Return to CMM Command Reference
Environment: Mission Scripting
Function: SaveBankedTable
Function Description: Saves the current campaign banked data to a JSON file in the mission directory, formatting it as pretty-printed JSON for readability and ensuring persistence across mission reloads.
File Location: cmm.persistence.lua
Syntax: CMM.SaveBankedTable( )
Return Value: nil
Parameters: Name Description
Example: CMM.SaveBankedTable()
Example Description: Saves the current CMM.BANKED table to CMM.PERSISTENCE_CAMPAIGNBANK.json in the mission directory with pretty-printed formatting.
Related Functions:
Notes: