mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 06:35:49 +03:00
Added SteamUtils.IsRunningOnSteamDeck
This commit is contained in:
parent
38c2ffd796
commit
3b0fa8106c
@ -277,5 +277,10 @@ public string FilterText( TextFilteringContext context, SteamId sourceSteamID, s
|
|||||||
Internal.FilterText( context, sourceSteamID, inputMessage, out var filteredString );
|
Internal.FilterText( context, sourceSteamID, inputMessage, out var filteredString );
|
||||||
return filteredString;
|
return filteredString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// returns true if Steam itself is running on the Steam Deck
|
||||||
|
/// </summary>
|
||||||
|
public bool IsRunningOnSteamDeck => Internal.IsSteamRunningOnSteamDeck();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user