JAVA 193
Untitled Guest on 10th February 2020 09:13:48 PM
  1. package com.DAGuard.network.clientpackets;
  2.  
  3. import com.l2jserver.gameserver.network.L2GameClient;
  4. import com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket;
  5.  
  6. public class GameGuardReply extends L2GameClientPacket
  7. {
  8.         private int _dx;
  9.  
  10.         @Override
  11.         protected void readImpl()
  12.         {
  13.                 _dx = readC();
  14.         }
  15.  
  16.         @Override
  17.         protected void runImpl()
  18.         {
  19.                 L2GameClient client = getClient();
  20.                 if (_dx == 104)
  21.                         client.setGameGuardOk(true);
  22.                 else
  23.                         client.setGameGuardOk(false);
  24.  
  25.         }
  26.  
  27.         @Override
  28.         public String getType()
  29.         {
  30.                 return "[C] CB GameGuardReply";
  31.         }
  32. }
Raw Paste

Login or Register to edit or fork this paste. It's free.