Package mindustry.net

Class WorldReloader

java.lang.Object
mindustry.net.WorldReloader

public class WorldReloader extends Object
Handles player state for sending to every connected player
  • Constructor Details

    • WorldReloader

      public WorldReloader()
  • Method Details

    • begin

      public void begin()
      Begins reloading the world. Sends world begin packets to each user and stores player state. If the current client is not a server, this resets state and disconnects.
    • end

      public void end()
      Ends reloading the world. Sends world data to each player. If the current client was not a server, does nothing.