Fast implementation of RequestHardWareInfo packet.
This commit is contained in:
@@ -261,7 +261,7 @@ public enum ExIncomingPackets implements IIncomingPackets<L2GameClient>
|
||||
REQUEST_GOODS_INVENTORY_ITEM(0xAB, null, ConnectionState.IN_GAME),
|
||||
REQUEST_FIRST_PLAY_START(0xAC, null, ConnectionState.IN_GAME),
|
||||
REQUEST_FLY_MOVE_START(0xAD, RequestFlyMoveStart::new, ConnectionState.IN_GAME),
|
||||
REQUEST_HARDWARE_INFO(0xAE, null, ConnectionState.IN_GAME),
|
||||
REQUEST_HARDWARE_INFO(0xAE, RequestHardWareInfo::new, ConnectionState.IN_GAME),
|
||||
SEND_CHANGE_ATTRIBUTE_TARGET_ITEM(0xB0, null, ConnectionState.IN_GAME),
|
||||
REQUEST_CHANGE_ATTRIBUTE_ITEM(0xB1, null, ConnectionState.IN_GAME),
|
||||
REQUEST_CHANGE_ATTRIBUTE_CANCEL(0xB2, null, ConnectionState.IN_GAME),
|
||||
|
@@ -53,6 +53,7 @@ import com.l2jmobius.gameserver.model.L2World;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Summon;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.entity.L2Event;
|
||||
import com.l2jmobius.gameserver.model.holders.ClientHardwareInfoHolder;
|
||||
import com.l2jmobius.gameserver.model.olympiad.OlympiadManager;
|
||||
import com.l2jmobius.gameserver.model.zone.ZoneId;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
@@ -86,7 +87,7 @@ public final class L2GameClient extends ChannelInboundHandler<L2GameClient>
|
||||
private L2PcInstance _activeChar;
|
||||
private final ReentrantLock _activeCharLock = new ReentrantLock();
|
||||
private SecondaryPasswordAuth _secondaryAuth;
|
||||
|
||||
private ClientHardwareInfoHolder _hardwareInfo;
|
||||
private boolean _isAuthedGG;
|
||||
private final long _connectionStartTime = System.currentTimeMillis();
|
||||
private CharSelectInfoPackage[] _charSlotMapping = null;
|
||||
@@ -941,4 +942,20 @@ public final class L2GameClient extends ChannelInboundHandler<L2GameClient>
|
||||
{
|
||||
return _crypt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the hardwareInfo
|
||||
*/
|
||||
public ClientHardwareInfoHolder getHardwareInfo()
|
||||
{
|
||||
return _hardwareInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param hardwareInfo
|
||||
*/
|
||||
public void setHardwareInfo(ClientHardwareInfoHolder hardwareInfo)
|
||||
{
|
||||
_hardwareInfo = hardwareInfo;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user