Class CheckRulesVersionChoosePacket

All Implemented Interfaces:
PixelmonPacket

public class CheckRulesVersionChoosePacket extends CheckRulesVersion<DisplayBattleQueryRulesPacket>
Checks if the client's custom rules are synced with the server's before displaying the rule selection screen.
  • Constructor Details

    • CheckRulesVersionChoosePacket

      public CheckRulesVersionChoosePacket()
      Empty constructor for packet registration.
    • CheckRulesVersionChoosePacket

      public CheckRulesVersionChoosePacket(DisplayBattleQueryRulesPacket packet)
      Initializes a rules checking packet.
      Parameters:
      packet - The packet that will be processed once rules are synced.
  • Method Details