mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 22:39:31 +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 {
|
getRunHistoryEntry(): SessionSaveData {
|
||||||
const preWaveSessionDataCached = localStorage.getItem(`sessionData${this.scene.sessionSlotId ? this.scene.sessionSlotId : ""}_${loggedInUser?.username}`);
|
const preWaveSessionDataCached = localStorage.getItem(`sessionData${this.scene.sessionSlotId ? this.scene.sessionSlotId : ""}_${loggedInUser?.username}`);
|
||||||
const preWaveSessionData = preWaveSessionDataCached ? this.scene.gameData.parseSessionData(preWaveSessionDataCached) : null;
|
const preWaveSessionData = preWaveSessionDataCached ? this.scene.gameData.parseSessionData(preWaveSessionDataCached) : null;
|
||||||
|
Loading…
Reference in New Issue
Block a user