Module: backend/dbStore

Members


<static> getStates

Helper functions

Source:

<static> getStates

Helper functions

Source:

<static> loadState

Load game functions

Source:

<static> loadState

Load game functions

Source:

<static> storeEntity

Save game functions

Source:

<static> storeEntity

Save game functions

Source:

Methods


<inner> getStates() → {Promise}

Get the saved state keys.

Source:
Returns:
Type
Promise

<inner> getStates() → {Promise}

Get the saved state keys.

Source:
Returns:
Type
Promise

<inner> storeEntity(data)

Store Entity into JSON file.

Parameters:
Name Type Description
data any
Source:

<inner> storeEntity(data)

Store Entity into JSON file.

Parameters:
Name Type Description
data any
Source:

Module: backend/dbStore

Members


<static> getStates

Helper functions

Source:

<static> getStates

Helper functions

Source:

<static> loadState

Load game functions

Source:

<static> loadState

Load game functions

Source:

<static> storeEntity

Save game functions

Source:

<static> storeEntity

Save game functions

Source:

Methods


<inner> getStates() → {Promise}

Get the saved state keys.

Source:
Returns:
Type
Promise

<inner> getStates() → {Promise}

Get the saved state keys.

Source:
Returns:
Type
Promise

<inner> storeEntity(data)

Store Entity into JSON file.

Parameters:
Name Type Description
data any
Source:

<inner> storeEntity(data)

Store Entity into JSON file.

Parameters:
Name Type Description
data any
Source: