mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 17:48:41 +00:00
add isPSN extension to platform enum
This commit is contained in:
parent
746bce730e
commit
ce42909677
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,14 @@
|
|||
namespace LBPUnion.ProjectLighthouse.Types.Users;
|
||||
|
||||
public static class PlatformExtensions
|
||||
{
|
||||
|
||||
public static bool IsPSN(this Platform platform)
|
||||
{
|
||||
return platform == Platform.PS3 || platform == Platform.PSP || platform == Platform.Vita;
|
||||
}
|
||||
}
|
||||
|
||||
public enum Platform
|
||||
{
|
||||
PS3 = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue