mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update DeviceOs to latest protocol (#4553)
* Update DeviceOs to latest protocol * Revert enum name change and add deprecation annotations
This commit is contained in:
parent
98c412c9ed
commit
03187b6139
1 changed files with 10 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2019-2022 GeyserMC. http://geysermc.org
|
* Copyright (c) 2019-2024 GeyserMC. http://geysermc.org
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -39,15 +39,19 @@ public enum DeviceOs {
|
||||||
OSX("macOS"),
|
OSX("macOS"),
|
||||||
AMAZON("Amazon"),
|
AMAZON("Amazon"),
|
||||||
GEARVR("Gear VR"),
|
GEARVR("Gear VR"),
|
||||||
HOLOLENS("Hololens"),
|
@Deprecated HOLOLENS("Hololens"),
|
||||||
UWP("Windows"),
|
UWP("Windows"),
|
||||||
WIN32("Windows x86"),
|
WIN32("Windows x86"),
|
||||||
DEDICATED("Dedicated"),
|
DEDICATED("Dedicated"),
|
||||||
TVOS("Apple TV"),
|
@Deprecated TVOS("Apple TV"),
|
||||||
PS4("PS4"),
|
/**
|
||||||
|
* This is for all PlayStation platforms not just PS4
|
||||||
|
*/
|
||||||
|
PS4("PlayStation"),
|
||||||
NX("Switch"),
|
NX("Switch"),
|
||||||
XBOX("Xbox One"),
|
XBOX("Xbox"),
|
||||||
WINDOWS_PHONE("Windows Phone");
|
@Deprecated WINDOWS_PHONE("Windows Phone"),
|
||||||
|
LINUX("Linux");
|
||||||
|
|
||||||
private static final DeviceOs[] VALUES = values();
|
private static final DeviceOs[] VALUES = values();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue