Class DialogStateParser

java.lang.Object
com.realtime.crossfire.jxclient.window.DialogStateParser

public class DialogStateParser extends Object
Utility class to store or restore the dialog states to/from a file.
  • Method Details

    • load

      public static void load(@NotNull @NotNull JXCSkin skin, @NotNull @NotNull JXCWindowRenderer windowRenderer)
      Loads the dialogs state from a file.
      Parameters:
      skin - the skin to update
      windowRenderer - the window renderer instance to attach to
    • save

      public static void save(@NotNull @NotNull JXCSkin skin, @NotNull @NotNull JXCWindowRenderer windowRenderer)
      Saves the dialogs state to a file.
      Parameters:
      skin - the skin to update
      windowRenderer - the window renderer instance to attach to