ClassProgressionStore

public interface ClassProgressionStore

Synchronous persistence boundary for [Alpha] Advanced Combat System progression.

Implementations must be safe to call from asynchronous player-data tasks. This interface does not schedule work; callers choose the appropriate execution context.

Inheritors

Functions

Link copied to clipboard
public abstract List<StoredClassProgress> loadAllProgress(UUID playerId)
Link copied to clipboard
public abstract StoredClassProfile loadOrCreateProfile(UUID playerId, int catalogVersion)
Link copied to clipboard
public abstract StoredClassProgress loadProgressOrZero(UUID playerId, String formId, int catalogVersion)
Returns an in-memory zero record when the form has no persisted row.
Link copied to clipboard
public abstract void savePlayerAggregate(StoredClassProfile profile, Collection<StoredClassProgress> progress)
Atomically saves one player's profile and the supplied form rows.
Link copied to clipboard
public abstract void saveProfile(StoredClassProfile profile)
Link copied to clipboard
public abstract void saveProgress(StoredClassProgress progress)