LoadBankedTable: Difference between revisions
Appearance
Ozdeadmeat (talk | contribs) m LoadBankedTable – created via PowerShell script (2026-01-01T06:03:20Z) |
Ozdeadmeat (talk | contribs) m LoadBankedTable – created via PowerShell script (2026-06-24T22:27:04Z) |
||
| Line 1: | Line 1: | ||
{{Template:FunctionInfo|fName= LoadBankedTable|fDescription= Loads the campaign banked data from a JSON persistence file located in the mission directory, or initialises default values if the file is missing, then saves the data to ensure persistence.|parentFile= cmm.persistence.lua|syntax= CMM.LoadBankedTable()|return= nil|returnDesc= Returns nothing.|example= CMM.LoadBankedTable()|exampleDesc= Loads the campaign banked data from the | {{Template:FunctionInfo|fName= LoadBankedTable|fDescription= Loads the campaign banked data from a JSON persistence file located in the mission directory, or initialises default values if the file is missing, then saves the data to ensure persistence.|parentFile= cmm.persistence.lua|syntax= CMM.LoadBankedTable()|return= nil|returnDesc= Returns nothing.|example= CMM.LoadBankedTable()|exampleDesc= Loads the campaign banked data from the CMM.PERSISTENCE_CAMPAIGNBANK.json file in the mission directory, using default values if the file does not exist.|related= |note= |envType= CMM}} | ||
Latest revision as of 12:27, 24 June 2026
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | LoadBankedTable | |
| Function Description: | Loads the campaign banked data from a JSON persistence file located in the mission directory, or initialises default values if the file is missing, then saves the data to ensure persistence. | |
| File Location: | cmm.persistence.lua | |
| Syntax: | CMM.LoadBankedTable( ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| Example: | CMM.LoadBankedTable() | |
| Example Description: | Loads the campaign banked data from the CMM.PERSISTENCE_CAMPAIGNBANK.json file in the mission directory, using default values if the file does not exist. | |
| Related Functions: | ||
| Notes: | ||