MCPcopy Create free account
hub / github.com/Rat431/ColdAPI_Steam / SetOverlayNotification

Function SetOverlayNotification

src/ColdAPI_Steam/ColdManager.cpp:765–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763 return SteamDir;
764 }
765 void SetOverlayNotification(int Value)
766 {
767 FARPROC SetNotificationPositionExt = GetProcAddress(OverLayModule, "SetNotificationPosition"); // Load SetNotificationPosition from STEAMOVERLAY module
768 if (SetNotificationPositionExt)
769 ((void(*)(int32_t))SetNotificationPositionExt)(Value); // Call the virtual loaded function, most of people uses typedef method but in this way more fast
770 else
771 return;
772 }
773 bool IsOverlayNeededOrEnabled()
774 {
775 FARPROC OverLayEn = GetProcAddress(OverLayModule, "IsOverlayEnabled"); // Load IsOverlayEnabled from STEAMOVERLAY module

Calls

no outgoing calls

Tested by

no test coverage detected