Steam.ActivateGameOverlayToStore (Civ5 API)

From Civilization Modding Wiki
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Function.png This function is a member of Steam.

This is a static method, invoke it with a dot.


Opens the built-in web browser of the overlay and navigates to a store page on Steam


Usage

void Steam.ActivateGameOverlayToStore(int storeID = nil)


Parameters

storeID: Navigates the browser to the store page of the item with the given ID.

If no storeID is supplied, will navigate to the Civ5 store page.


Examples

-- Open Civ5 Store page
Steam.ActivateGameOverlayToStore();


Source code samples

Redundant occurences have been removed.

MainMenu.lua

UI/FrontEnd/MainMenu.lua
0213
Steam.ActivateGameOverlayToStore();



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.