This commit is contained in:
Riley Labrecque
2025-03-30 17:07:09 -07:00
parent e7bb839178
commit 1b9765621f
41 changed files with 780 additions and 289 deletions
+14 -1
View File
@@ -29,7 +29,10 @@ public:
// handles input from menu
void OnMenuSelection( OverlayExample_t selection );
bool BHasLastGamePhase() const { return !m_strLastGamePhaseIDToShow.empty(); }
bool BHasLastTimelineEvent() const { return m_ulLastCrashIntoSunEventIDToShow != 0; }
private:
// Engine
@@ -37,9 +40,19 @@ private:
COverlayExamplesMenu *m_pMenu;
OverlayExample_t m_delayedCommand;
std::string m_strLastGamePhaseIDToShow;
uint64 m_ulLastCrashIntoSunEventIDToShow = 0;
STEAM_CALLBACK( COverlayExamples, OnScreenshotRequested, ScreenshotRequested_t );
STEAM_CALLBACK( COverlayExamples, OnSteamScreenshotReady, ScreenshotReady_t );
// callback for when we ask about an event having recordings
void OnDoesEventRecordingExist( SteamTimelineEventRecordingExists_t *pCallback, bool bIOFailure );
CCallResult<COverlayExamples, SteamTimelineEventRecordingExists_t> m_SteamCallResultDoesEventRecordingExist;
// callback for when we ask about a phase having recordings
void OnDoesGamePhaseRecordingExist( SteamTimelineGamePhaseRecordingExists_t *pCallback, bool bIOFailure );
CCallResult<COverlayExamples, SteamTimelineGamePhaseRecordingExists_t> m_SteamCallResultDoesGamePhaseRecordingExist;
};
#endif // OVERLAYEXAMPLES_H