Downloads

← Back Playmaker reset values
Format:
Unity package
Dependencies:
BGDatabase, Playmaker

Description

Custom actions for Playmaker to revert values to default ones.

  1. BGPlaymakerResetValuesRow - reset values for one single row
  2. BGPlaymakerResetValuesTable - reset values for one single table
  3. BGPlaymakerResetValuesTableList - reset values for multiple tables

Restrictions

addMissingRows and removeOrphanedRows parameters may not work correctly if partition addon is enabled with horizontal partitioning enabled

Actions

1) BGPlaymakerResetValuesRow

Reverts the values for one single row.

Show parameters
Parameter name Description
RowSource What should be used for row's retrieval (Index,Name,ID)
RowIndex Row index to use if RowSource=RowIndex, otherwise the value is ignored
RowName Row name to use if RowSource=RowName, otherwise the value is ignored
RowId Row ID to use if RowSource=RowId, otherwise the value is ignored
No error if row not found If this parameter is set to true and the row is not found in default repo, no exception will be thrown
Meta [REQUIRED] meta (table) name
Fields to include Comma separated list of field names to include into process. If no value is provided, all fields, except "Fields to exclude" will be processed
Fields to exclude Comma separated list of field names to exclude from process.
Debug Print statistic information to Unity console
2) BGPlaymakerResetValuesTable

Reverts the values for one single table.

Show parameters
Parameter name Description
Update matching rows Update values for matching rows (matching row exists both in loaded repo and in the default repo)
Included rows indexes for update Restrict matching rows to the ones, which index is added to provided list
Add missing rows Missing rows will be added (missing row exists in the default repo only)
Remove orphaned rows Orphaned rows will be removed (orphaned row exists in the loaded repo only)
Meta [REQUIRED] meta (table) name
Fields to include Comma separated list of field names to include into process. If no value is provided, all fields, except "Fields to exclude" will be processed
Fields to exclude Comma separated list of field names to exclude from process.
Debug Print statistic information to Unity console
3) BGPlaymakerResetValuesTableList

Reverts the values for multiple tables.

Show parameters
Parameter name Description
Metas [REQUIRED] Comma separated list of metas(tables) names to include.
Update matching Update values for matching rows (matching row exists both in loaded repo and in the default repo)
Add missing rows Missing rows will be added (missing row exists in the default repo only)
Remove orphaned rows Orphaned rows will be removed (orphaned row exists in the loaded repo only)
Debug Print statistic information to Unity console
← Back to Downloads