Class WindowManager
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.windows.WindowManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.hypixel.hytale.logger.HytaleLoggerprivate PlayerRefprivate final com.hypixel.fastutil.ints.Int2ObjectConcurrentHashMap<EventRegistration> private final AtomicIntegerprivate final com.hypixel.fastutil.ints.Int2ObjectConcurrentHashMap<Window> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientOpenWindow(Window window) voidstatic <W extends Window>
voidcloseAndRemoveAll(Map<UUID, W> windows) closeWindow(int id) getWindow(int id) voidvoidmarkWindowChanged(int id) openWindow(Window window) openWindows(Window... windows) voidprivate voidsetWindow0(int id, Window window) toString()voidupdateWindow(Window window) voidvoid
-
Field Details
-
LOGGER
@Nonnull private static final com.hypixel.hytale.logger.HytaleLogger LOGGER -
windowId
-
windows
-
windowChangeEvents
@Nonnull private final com.hypixel.fastutil.ints.Int2ObjectConcurrentHashMap<EventRegistration> windowChangeEvents -
playerRef
-
-
Constructor Details
-
WindowManager
public WindowManager()
-
-
Method Details
-
init
-
clientOpenWindow
-
openWindow
-
openWindows
-
setWindow
-
setWindow0
-
getWindow
-
getWindows
-
updateWindow
-
closeWindow
-
closeAllWindows
public void closeAllWindows() -
markWindowChanged
public void markWindowChanged(int id) -
updateWindows
public void updateWindows() -
validateWindows
public void validateWindows() -
closeAndRemoveAll
-
toString
-