Added SteamUtils.IsRunningOnSteamDeck

This commit is contained in:
Garry Newman 2021-09-24 14:29:58 +01:00
parent 38c2ffd796
commit 3b0fa8106c

View File

@ -277,5 +277,10 @@ public string FilterText( TextFilteringContext context, SteamId sourceSteamID, s
Internal.FilterText( context, sourceSteamID, inputMessage, out var filteredString );
return filteredString;
}
/// <summary>
/// returns true if Steam itself is running on the Steam Deck
/// </summary>
public bool IsRunningOnSteamDeck => Internal.IsSteamRunningOnSteamDeck();
}
}
}