mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 14:29:28 +02:00
weak attempt of documentation
This commit is contained in:
parent
b0c09daff6
commit
bad8f656aa
@ -222,6 +222,10 @@ export class GameOverPhase extends BattlePhase {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the session's data to log its TBD
|
||||
* @returns
|
||||
*/
|
||||
getRunHistoryEntry(): SessionSaveData {
|
||||
const preWaveSessionDataCached = localStorage.getItem(`sessionData${this.scene.sessionSlotId ? this.scene.sessionSlotId : ""}_${loggedInUser?.username}`);
|
||||
const preWaveSessionData = preWaveSessionDataCached ? this.scene.gameData.parseSessionData(preWaveSessionDataCached) : null;
|
||||
|
Loading…
Reference in New Issue
Block a user