class Game.Overlay

in global :: Sandbox

😔 No documentation found.


public static void ShowGameModal( string packageIdent )

Opens a modal for the specified game package

public static void ShowMapModal( string packageIdent )

Opens a modal for the specified map package

public static void ShowPackageModal( string ident )

Opens a modal for the specified package

public static void ShowPackageModal( string ident, string page )

Opens a modal for the specified package on the specified page

public static void ShowNewsModal( News newsitem )

Opens a modal for the news item

public static void ShowOrganizationModal( Package.Organization org )

Opens a modal for the specified organization. This is most likely called from a Package - so get the organization from there.

public static void ShowReviewModal( Package package )

Opens a modal to review the specified package

public static void ShowFriendsList( FriendsListModalOptions options = null )

Opens a modal that shows the user's friends list

public static void ShowServerList( ref ServerListConfig config )

Opens a modal that shows a list of active servers

public static void CreateGame( ref CreateGameOptions options )

Opens a modal to create a multiplayer game. We use this in the menu when you click "Create Game" and the game has options.

public static void ShowPlayer( SteamId steamid, string page = )

View a selected user's profile

public bool IsOpen { get; }

Returns true if any overlay is open

public bool IsPauseMenuOpen { get; }

Returns true if the pause menu overlay is open

public bool Equals( object obj )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public Game.Overlay( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public static void ShowPackageSelector( string query, Action<Package> onSelect, Action<string> onFilterChanged = null )

😔 No documentation found.

public static void ShowBinds( )

😔 No documentation found.

public static void ShowSettingsModal( )

😔 No documentation found.