SavePlayerBankTable: Difference between revisions
Appearance
Ozdeadmeat (talk | contribs) SavePlayerBankTable – created via PowerShell script (2025-11-11T21:12:31Z) Tag: Recreated |
Ozdeadmeat (talk | contribs) m SavePlayerBankTable – created via PowerShell script (2026-06-24T22:27:06Z) |
||
| Line 1: | Line 1: | ||
{{Template:FunctionInfo|fName= SavePlayerBankTable|fDescription= Saves the current player bank data to a JSON persistence file in the mission directory, ensuring data is stored for future missions.|parentFile= cmm.persistence.lua|syntax= CMM.SavePlayerBankTable()|return= nil|returnDesc= Returns nothing, writes the player bank data to the persistence file and logs completion.|example= CMM.SavePlayerTBankTable()|exampleDesc= Saves the current player bank data to | {{Template:FunctionInfo|fName= SavePlayerBankTable|fDescription= Saves the current player bank data to a JSON persistence file in the mission directory, ensuring data is stored for future missions.|parentFile= cmm.persistence.lua|syntax= CMM.SavePlayerBankTable()|return= nil|returnDesc= Returns nothing, writes the player bank data to the persistence file and logs completion.|example= CMM.SavePlayerTBankTable()|exampleDesc= Saves the current player bank data to CMM.PERSISTENCE_PLAYERDATA.json in the mission directory.|related= |note= |envType= CMM}} | ||
Latest revision as of 12:27, 24 June 2026
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | SavePlayerBankTable | |
| Function Description: | Saves the current player bank data to a JSON persistence file in the mission directory, ensuring data is stored for future missions. | |
| File Location: | cmm.persistence.lua | |
| Syntax: | CMM.SavePlayerBankTable( ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| Example: | CMM.SavePlayerTBankTable() | |
| Example Description: | Saves the current player bank data to CMM.PERSISTENCE_PLAYERDATA.json in the mission directory. | |
| Related Functions: | ||
| Notes: | ||