These should be static

This commit is contained in:
Garry Newman 2021-09-24 15:47:41 +01:00
parent f005600957
commit 141dbfdaa1

View File

@ -272,7 +272,7 @@ namespace Steamworks
/// Filters the provided input message and places the filtered result into pchOutFilteredText, /// Filters the provided input message and places the filtered result into pchOutFilteredText,
/// using legally required filtering and additional filtering based on the context and user settings. /// using legally required filtering and additional filtering based on the context and user settings.
/// </summary> /// </summary>
public string FilterText( TextFilteringContext context, SteamId sourceSteamID, string inputMessage ) public static string FilterText( TextFilteringContext context, SteamId sourceSteamID, string inputMessage )
{ {
Internal.FilterText( context, sourceSteamID, inputMessage, out var filteredString ); Internal.FilterText( context, sourceSteamID, inputMessage, out var filteredString );
return filteredString; return filteredString;
@ -281,14 +281,14 @@ namespace Steamworks
/// <summary> /// <summary>
/// returns true if Steam itself is running on the Steam Deck /// returns true if Steam itself is running on the Steam Deck
/// </summary> /// </summary>
public bool IsRunningOnSteamDeck => Internal.IsSteamRunningOnSteamDeck(); public static bool IsRunningOnSteamDeck => Internal.IsSteamRunningOnSteamDeck();
/// <summary> /// <summary>
/// In game launchers that don't have controller support you can call this to have /// In game launchers that don't have controller support you can call this to have
/// Steam Input translate the controller input into mouse/kb to navigate the launcher /// Steam Input translate the controller input into mouse/kb to navigate the launcher
/// </summary> /// </summary>
public void SetGameLauncherMode( bool mode ) => Internal.SetGameLauncherMode( mode ); public static void SetGameLauncherMode( bool mode ) => Internal.SetGameLauncherMode( mode );
//public void ShowFloatingGamepadTextInput( TextInputMode mode, int left, int top, int width, int height ) //public void ShowFloatingGamepadTextInput( TextInputMode mode, int left, int top, int width, int height )
//{ //{