sm.container.beginTransaction

Starts a new transaction shared across all containers. A transaction is a collection of all changes of container items will be collected and processed

Kind: Function

Environments: Game

Game

sm.container.beginTransaction(  )

Open the full Game reference

Availability: Server only

A transaction must be ended with sm.container.endTransaction.

Returns:

Type Description
boolean Whether starting a transaction was successful.