Addition of item auction map status.
Thanks to Index.
This commit is contained in:
@@ -398,7 +398,7 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
REQUEST_RAIDBOSS_SPAWN_INFO(0x129, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAIDBOSS_SPAWN_INFO(0x129, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_RAID_SERVER_INFO(0x12A, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAID_SERVER_INFO(0x12A, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12B, null, ConnectionState.IN_GAME),
|
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12B, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_ITEM_AUCTION_STATUS(0x12C, null, ConnectionState.IN_GAME),
|
REQUEST_ITEM_AUCTION_STATUS(0x12C, RequestItemAuctionStatus::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_OPEN(0x12D, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_OPEN(0x12D, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_CLOSE(0x12E, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_CLOSE(0x12E, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_REWARD(0x12F, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_REWARD(0x12F, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExItemAuctionStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class RequestItemAuctionStatus implements IClientIncomingPacket
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(GameClient client)
|
||||||
|
{
|
||||||
|
final Player player = client.getPlayer();
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
player.sendPacket(new ExItemAuctionStatus());
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.serverpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketWriter;
|
||||||
|
import org.l2jmobius.gameserver.data.SpawnTable;
|
||||||
|
import org.l2jmobius.gameserver.instancemanager.ItemAuctionManager;
|
||||||
|
import org.l2jmobius.gameserver.model.Spawn;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuction;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance;
|
||||||
|
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index, Gaikotsu
|
||||||
|
*/
|
||||||
|
public class ExItemAuctionStatus implements IClientOutgoingPacket
|
||||||
|
{
|
||||||
|
private static final int AUCTION_MANAGER = 34328;
|
||||||
|
|
||||||
|
private int _x = 0;
|
||||||
|
private int _y = 0;
|
||||||
|
private int _z = 0;
|
||||||
|
private int _status = 0;
|
||||||
|
|
||||||
|
public ExItemAuctionStatus()
|
||||||
|
{
|
||||||
|
final Spawn spawn = SpawnTable.getInstance().getAnySpawn(AUCTION_MANAGER);
|
||||||
|
if (spawn != null)
|
||||||
|
{
|
||||||
|
_x = spawn.getX();
|
||||||
|
_y = spawn.getY();
|
||||||
|
_z = spawn.getZ();
|
||||||
|
|
||||||
|
final ItemAuctionInstance manager = ItemAuctionManager.getInstance().getManagerInstance(AUCTION_MANAGER);
|
||||||
|
if (manager != null)
|
||||||
|
{
|
||||||
|
final ItemAuction auction = manager.getCurrentAuction();
|
||||||
|
if (auction != null)
|
||||||
|
{
|
||||||
|
_status = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean write(PacketWriter packet)
|
||||||
|
{
|
||||||
|
OutgoingPackets.EX_ITEM_AUCTION_STATUS.writeId(packet);
|
||||||
|
packet.writeD(_x);
|
||||||
|
packet.writeD(_y);
|
||||||
|
packet.writeD(_z);
|
||||||
|
packet.writeD(0x00);
|
||||||
|
packet.writeH(_status);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@@ -408,7 +408,7 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
REQUEST_RAIDBOSS_SPAWN_INFO(0x129, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAIDBOSS_SPAWN_INFO(0x129, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_RAID_SERVER_INFO(0x12A, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAID_SERVER_INFO(0x12A, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12B, null, ConnectionState.IN_GAME),
|
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12B, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_ITEM_AUCTION_STATUS(0x12C, null, ConnectionState.IN_GAME),
|
REQUEST_ITEM_AUCTION_STATUS(0x12C, RequestItemAuctionStatus::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_OPEN(0x12D, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_OPEN(0x12D, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_CLOSE(0x12E, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_CLOSE(0x12E, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_REWARD(0x12F, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_REWARD(0x12F, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExItemAuctionStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class RequestItemAuctionStatus implements IClientIncomingPacket
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(GameClient client)
|
||||||
|
{
|
||||||
|
final Player player = client.getPlayer();
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
player.sendPacket(new ExItemAuctionStatus());
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.serverpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketWriter;
|
||||||
|
import org.l2jmobius.gameserver.data.SpawnTable;
|
||||||
|
import org.l2jmobius.gameserver.instancemanager.ItemAuctionManager;
|
||||||
|
import org.l2jmobius.gameserver.model.Spawn;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuction;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance;
|
||||||
|
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index, Gaikotsu
|
||||||
|
*/
|
||||||
|
public class ExItemAuctionStatus implements IClientOutgoingPacket
|
||||||
|
{
|
||||||
|
private static final int AUCTION_MANAGER = 34328;
|
||||||
|
|
||||||
|
private int _x = 0;
|
||||||
|
private int _y = 0;
|
||||||
|
private int _z = 0;
|
||||||
|
private int _status = 0;
|
||||||
|
|
||||||
|
public ExItemAuctionStatus()
|
||||||
|
{
|
||||||
|
final Spawn spawn = SpawnTable.getInstance().getAnySpawn(AUCTION_MANAGER);
|
||||||
|
if (spawn != null)
|
||||||
|
{
|
||||||
|
_x = spawn.getX();
|
||||||
|
_y = spawn.getY();
|
||||||
|
_z = spawn.getZ();
|
||||||
|
|
||||||
|
final ItemAuctionInstance manager = ItemAuctionManager.getInstance().getManagerInstance(AUCTION_MANAGER);
|
||||||
|
if (manager != null)
|
||||||
|
{
|
||||||
|
final ItemAuction auction = manager.getCurrentAuction();
|
||||||
|
if (auction != null)
|
||||||
|
{
|
||||||
|
_status = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean write(PacketWriter packet)
|
||||||
|
{
|
||||||
|
OutgoingPackets.EX_ITEM_AUCTION_STATUS.writeId(packet);
|
||||||
|
packet.writeD(_x);
|
||||||
|
packet.writeD(_y);
|
||||||
|
packet.writeD(_z);
|
||||||
|
packet.writeD(0x00);
|
||||||
|
packet.writeH(_status);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@@ -408,7 +408,7 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
REQUEST_RAIDBOSS_SPAWN_INFO(0x129, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAIDBOSS_SPAWN_INFO(0x129, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_RAID_SERVER_INFO(0x12A, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAID_SERVER_INFO(0x12A, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12B, null, ConnectionState.IN_GAME),
|
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12B, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_ITEM_AUCTION_STATUS(0x12C, null, ConnectionState.IN_GAME),
|
REQUEST_ITEM_AUCTION_STATUS(0x12C, RequestItemAuctionStatus::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_OPEN(0x12D, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_OPEN(0x12D, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_CLOSE(0x12E, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_CLOSE(0x12E, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_REWARD(0x12F, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_REWARD(0x12F, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExItemAuctionStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class RequestItemAuctionStatus implements IClientIncomingPacket
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(GameClient client)
|
||||||
|
{
|
||||||
|
final Player player = client.getPlayer();
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
player.sendPacket(new ExItemAuctionStatus());
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.serverpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketWriter;
|
||||||
|
import org.l2jmobius.gameserver.data.SpawnTable;
|
||||||
|
import org.l2jmobius.gameserver.instancemanager.ItemAuctionManager;
|
||||||
|
import org.l2jmobius.gameserver.model.Spawn;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuction;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance;
|
||||||
|
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index, Gaikotsu
|
||||||
|
*/
|
||||||
|
public class ExItemAuctionStatus implements IClientOutgoingPacket
|
||||||
|
{
|
||||||
|
private static final int AUCTION_MANAGER = 34328;
|
||||||
|
|
||||||
|
private int _x = 0;
|
||||||
|
private int _y = 0;
|
||||||
|
private int _z = 0;
|
||||||
|
private int _status = 0;
|
||||||
|
|
||||||
|
public ExItemAuctionStatus()
|
||||||
|
{
|
||||||
|
final Spawn spawn = SpawnTable.getInstance().getAnySpawn(AUCTION_MANAGER);
|
||||||
|
if (spawn != null)
|
||||||
|
{
|
||||||
|
_x = spawn.getX();
|
||||||
|
_y = spawn.getY();
|
||||||
|
_z = spawn.getZ();
|
||||||
|
|
||||||
|
final ItemAuctionInstance manager = ItemAuctionManager.getInstance().getManagerInstance(AUCTION_MANAGER);
|
||||||
|
if (manager != null)
|
||||||
|
{
|
||||||
|
final ItemAuction auction = manager.getCurrentAuction();
|
||||||
|
if (auction != null)
|
||||||
|
{
|
||||||
|
_status = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean write(PacketWriter packet)
|
||||||
|
{
|
||||||
|
OutgoingPackets.EX_ITEM_AUCTION_STATUS.writeId(packet);
|
||||||
|
packet.writeD(_x);
|
||||||
|
packet.writeD(_y);
|
||||||
|
packet.writeD(_z);
|
||||||
|
packet.writeD(0x00);
|
||||||
|
packet.writeH(_status);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@@ -409,7 +409,7 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
REQUEST_RAIDBOSS_SPAWN_INFO(0x129, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAIDBOSS_SPAWN_INFO(0x129, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_RAID_SERVER_INFO(0x12A, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAID_SERVER_INFO(0x12A, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12B, null, ConnectionState.IN_GAME),
|
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12B, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_ITEM_AUCTION_STATUS(0x12C, null, ConnectionState.IN_GAME),
|
REQUEST_ITEM_AUCTION_STATUS(0x12C, RequestItemAuctionStatus::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_OPEN(0x12D, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_OPEN(0x12D, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_CLOSE(0x12E, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_CLOSE(0x12E, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_REWARD(0x12F, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_REWARD(0x12F, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExItemAuctionStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class RequestItemAuctionStatus implements IClientIncomingPacket
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(GameClient client)
|
||||||
|
{
|
||||||
|
final Player player = client.getPlayer();
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
player.sendPacket(new ExItemAuctionStatus());
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.serverpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketWriter;
|
||||||
|
import org.l2jmobius.gameserver.data.SpawnTable;
|
||||||
|
import org.l2jmobius.gameserver.instancemanager.ItemAuctionManager;
|
||||||
|
import org.l2jmobius.gameserver.model.Spawn;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuction;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance;
|
||||||
|
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index, Gaikotsu
|
||||||
|
*/
|
||||||
|
public class ExItemAuctionStatus implements IClientOutgoingPacket
|
||||||
|
{
|
||||||
|
private static final int AUCTION_MANAGER = 34328;
|
||||||
|
|
||||||
|
private int _x = 0;
|
||||||
|
private int _y = 0;
|
||||||
|
private int _z = 0;
|
||||||
|
private int _status = 0;
|
||||||
|
|
||||||
|
public ExItemAuctionStatus()
|
||||||
|
{
|
||||||
|
final Spawn spawn = SpawnTable.getInstance().getAnySpawn(AUCTION_MANAGER);
|
||||||
|
if (spawn != null)
|
||||||
|
{
|
||||||
|
_x = spawn.getX();
|
||||||
|
_y = spawn.getY();
|
||||||
|
_z = spawn.getZ();
|
||||||
|
|
||||||
|
final ItemAuctionInstance manager = ItemAuctionManager.getInstance().getManagerInstance(AUCTION_MANAGER);
|
||||||
|
if (manager != null)
|
||||||
|
{
|
||||||
|
final ItemAuction auction = manager.getCurrentAuction();
|
||||||
|
if (auction != null)
|
||||||
|
{
|
||||||
|
_status = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean write(PacketWriter packet)
|
||||||
|
{
|
||||||
|
OutgoingPackets.EX_ITEM_AUCTION_STATUS.writeId(packet);
|
||||||
|
packet.writeD(_x);
|
||||||
|
packet.writeD(_y);
|
||||||
|
packet.writeD(_z);
|
||||||
|
packet.writeD(0x00);
|
||||||
|
packet.writeH(_status);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@@ -427,7 +427,7 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
REQUEST_RAIDBOSS_SPAWN_INFO(0x128, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAIDBOSS_SPAWN_INFO(0x128, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_RAID_SERVER_INFO(0x129, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAID_SERVER_INFO(0x129, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12A, null, ConnectionState.IN_GAME),
|
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12A, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_ITEM_AUCTION_STATUS(0x12B, null, ConnectionState.IN_GAME),
|
REQUEST_ITEM_AUCTION_STATUS(0x12B, RequestItemAuctionStatus::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_OPEN(0x12C, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_OPEN(0x12C, RequestMonsterBookOpen::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_CLOSE(0x12D, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_CLOSE(0x12D, RequestMonsterBookClose::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_REWARD(0x12E, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_REWARD(0x12E, RequestMonsterBookReward::new, ConnectionState.IN_GAME),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExItemAuctionStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class RequestItemAuctionStatus implements IClientIncomingPacket
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(GameClient client)
|
||||||
|
{
|
||||||
|
final Player player = client.getPlayer();
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
player.sendPacket(new ExItemAuctionStatus());
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.serverpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketWriter;
|
||||||
|
import org.l2jmobius.gameserver.data.SpawnTable;
|
||||||
|
import org.l2jmobius.gameserver.instancemanager.ItemAuctionManager;
|
||||||
|
import org.l2jmobius.gameserver.model.Spawn;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuction;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance;
|
||||||
|
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index, Gaikotsu
|
||||||
|
*/
|
||||||
|
public class ExItemAuctionStatus implements IClientOutgoingPacket
|
||||||
|
{
|
||||||
|
private static final int AUCTION_MANAGER = 34328;
|
||||||
|
|
||||||
|
private int _x = 0;
|
||||||
|
private int _y = 0;
|
||||||
|
private int _z = 0;
|
||||||
|
private int _status = 0;
|
||||||
|
|
||||||
|
public ExItemAuctionStatus()
|
||||||
|
{
|
||||||
|
final Spawn spawn = SpawnTable.getInstance().getAnySpawn(AUCTION_MANAGER);
|
||||||
|
if (spawn != null)
|
||||||
|
{
|
||||||
|
_x = spawn.getX();
|
||||||
|
_y = spawn.getY();
|
||||||
|
_z = spawn.getZ();
|
||||||
|
|
||||||
|
final ItemAuctionInstance manager = ItemAuctionManager.getInstance().getManagerInstance(AUCTION_MANAGER);
|
||||||
|
if (manager != null)
|
||||||
|
{
|
||||||
|
final ItemAuction auction = manager.getCurrentAuction();
|
||||||
|
if (auction != null)
|
||||||
|
{
|
||||||
|
_status = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean write(PacketWriter packet)
|
||||||
|
{
|
||||||
|
OutgoingPackets.EX_ITEM_AUCTION_STATUS.writeId(packet);
|
||||||
|
packet.writeD(_x);
|
||||||
|
packet.writeD(_y);
|
||||||
|
packet.writeD(_z);
|
||||||
|
packet.writeD(0x00);
|
||||||
|
packet.writeH(_status);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@@ -443,7 +443,7 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
REQUEST_RAIDBOSS_SPAWN_INFO(0x128, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAIDBOSS_SPAWN_INFO(0x128, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_RAID_SERVER_INFO(0x129, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAID_SERVER_INFO(0x129, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12A, null, ConnectionState.IN_GAME),
|
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12A, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_ITEM_AUCTION_STATUS(0x12B, null, ConnectionState.IN_GAME),
|
REQUEST_ITEM_AUCTION_STATUS(0x12B, RequestItemAuctionStatus::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_OPEN(0x12C, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_OPEN(0x12C, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_CLOSE(0x12D, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_CLOSE(0x12D, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_REWARD(0x12E, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_REWARD(0x12E, null, ConnectionState.IN_GAME),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExItemAuctionStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class RequestItemAuctionStatus implements IClientIncomingPacket
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(GameClient client)
|
||||||
|
{
|
||||||
|
final Player player = client.getPlayer();
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
player.sendPacket(new ExItemAuctionStatus());
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.serverpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketWriter;
|
||||||
|
import org.l2jmobius.gameserver.data.SpawnTable;
|
||||||
|
import org.l2jmobius.gameserver.instancemanager.ItemAuctionManager;
|
||||||
|
import org.l2jmobius.gameserver.model.Spawn;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuction;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance;
|
||||||
|
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index, Gaikotsu
|
||||||
|
*/
|
||||||
|
public class ExItemAuctionStatus implements IClientOutgoingPacket
|
||||||
|
{
|
||||||
|
private static final int AUCTION_MANAGER = 34328;
|
||||||
|
|
||||||
|
private int _x = 0;
|
||||||
|
private int _y = 0;
|
||||||
|
private int _z = 0;
|
||||||
|
private int _status = 0;
|
||||||
|
|
||||||
|
public ExItemAuctionStatus()
|
||||||
|
{
|
||||||
|
final Spawn spawn = SpawnTable.getInstance().getAnySpawn(AUCTION_MANAGER);
|
||||||
|
if (spawn != null)
|
||||||
|
{
|
||||||
|
_x = spawn.getX();
|
||||||
|
_y = spawn.getY();
|
||||||
|
_z = spawn.getZ();
|
||||||
|
|
||||||
|
final ItemAuctionInstance manager = ItemAuctionManager.getInstance().getManagerInstance(AUCTION_MANAGER);
|
||||||
|
if (manager != null)
|
||||||
|
{
|
||||||
|
final ItemAuction auction = manager.getCurrentAuction();
|
||||||
|
if (auction != null)
|
||||||
|
{
|
||||||
|
_status = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean write(PacketWriter packet)
|
||||||
|
{
|
||||||
|
OutgoingPackets.EX_ITEM_AUCTION_STATUS.writeId(packet);
|
||||||
|
packet.writeD(_x);
|
||||||
|
packet.writeD(_y);
|
||||||
|
packet.writeD(_z);
|
||||||
|
packet.writeD(0x00);
|
||||||
|
packet.writeH(_status);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@@ -452,7 +452,7 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
REQUEST_RAIDBOSS_SPAWN_INFO(0x128, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAIDBOSS_SPAWN_INFO(0x128, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_RAID_SERVER_INFO(0x129, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAID_SERVER_INFO(0x129, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12A, null, ConnectionState.IN_GAME),
|
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12A, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_ITEM_AUCTION_STATUS(0x12B, null, ConnectionState.IN_GAME),
|
REQUEST_ITEM_AUCTION_STATUS(0x12B, RequestItemAuctionStatus::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_OPEN(0x12C, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_OPEN(0x12C, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_CLOSE(0x12D, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_CLOSE(0x12D, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_REWARD(0x12E, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_REWARD(0x12E, null, ConnectionState.IN_GAME),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExItemAuctionStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class RequestItemAuctionStatus implements IClientIncomingPacket
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(GameClient client)
|
||||||
|
{
|
||||||
|
final Player player = client.getPlayer();
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
player.sendPacket(new ExItemAuctionStatus());
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.serverpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketWriter;
|
||||||
|
import org.l2jmobius.gameserver.data.SpawnTable;
|
||||||
|
import org.l2jmobius.gameserver.instancemanager.ItemAuctionManager;
|
||||||
|
import org.l2jmobius.gameserver.model.Spawn;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuction;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance;
|
||||||
|
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index, Gaikotsu
|
||||||
|
*/
|
||||||
|
public class ExItemAuctionStatus implements IClientOutgoingPacket
|
||||||
|
{
|
||||||
|
private static final int AUCTION_MANAGER = 34328;
|
||||||
|
|
||||||
|
private int _x = 0;
|
||||||
|
private int _y = 0;
|
||||||
|
private int _z = 0;
|
||||||
|
private int _status = 0;
|
||||||
|
|
||||||
|
public ExItemAuctionStatus()
|
||||||
|
{
|
||||||
|
final Spawn spawn = SpawnTable.getInstance().getAnySpawn(AUCTION_MANAGER);
|
||||||
|
if (spawn != null)
|
||||||
|
{
|
||||||
|
_x = spawn.getX();
|
||||||
|
_y = spawn.getY();
|
||||||
|
_z = spawn.getZ();
|
||||||
|
|
||||||
|
final ItemAuctionInstance manager = ItemAuctionManager.getInstance().getManagerInstance(AUCTION_MANAGER);
|
||||||
|
if (manager != null)
|
||||||
|
{
|
||||||
|
final ItemAuction auction = manager.getCurrentAuction();
|
||||||
|
if (auction != null)
|
||||||
|
{
|
||||||
|
_status = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean write(PacketWriter packet)
|
||||||
|
{
|
||||||
|
OutgoingPackets.EX_ITEM_AUCTION_STATUS.writeId(packet);
|
||||||
|
packet.writeD(_x);
|
||||||
|
packet.writeD(_y);
|
||||||
|
packet.writeD(_z);
|
||||||
|
packet.writeD(0x00);
|
||||||
|
packet.writeH(_status);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@@ -454,7 +454,7 @@ public enum ExIncomingPackets implements IIncomingPackets<GameClient>
|
|||||||
REQUEST_RAIDBOSS_SPAWN_INFO(0x128, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAIDBOSS_SPAWN_INFO(0x128, RequestRaidBossSpawnInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_RAID_SERVER_INFO(0x129, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
REQUEST_RAID_SERVER_INFO(0x129, RequestRaidServerInfo::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12A, null, ConnectionState.IN_GAME),
|
REQUEST_SHOW_AGIT_SIEGE_INFO(0x12A, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_ITEM_AUCTION_STATUS(0x12B, null, ConnectionState.IN_GAME),
|
REQUEST_ITEM_AUCTION_STATUS(0x12B, RequestItemAuctionStatus::new, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_OPEN(0x12C, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_OPEN(0x12C, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_CLOSE(0x12D, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_CLOSE(0x12D, null, ConnectionState.IN_GAME),
|
||||||
REQUEST_MONSTER_BOOK_REWARD(0x12E, null, ConnectionState.IN_GAME),
|
REQUEST_MONSTER_BOOK_REWARD(0x12E, null, ConnectionState.IN_GAME),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Player;
|
||||||
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExItemAuctionStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class RequestItemAuctionStatus implements IClientIncomingPacket
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void run(GameClient client)
|
||||||
|
{
|
||||||
|
final Player player = client.getPlayer();
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
player.sendPacket(new ExItemAuctionStatus());
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package org.l2jmobius.gameserver.network.serverpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.commons.network.PacketWriter;
|
||||||
|
import org.l2jmobius.gameserver.data.SpawnTable;
|
||||||
|
import org.l2jmobius.gameserver.instancemanager.ItemAuctionManager;
|
||||||
|
import org.l2jmobius.gameserver.model.Spawn;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuction;
|
||||||
|
import org.l2jmobius.gameserver.model.itemauction.ItemAuctionInstance;
|
||||||
|
import org.l2jmobius.gameserver.network.OutgoingPackets;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index, Gaikotsu
|
||||||
|
*/
|
||||||
|
public class ExItemAuctionStatus implements IClientOutgoingPacket
|
||||||
|
{
|
||||||
|
private static final int AUCTION_MANAGER = 34328;
|
||||||
|
|
||||||
|
private int _x = 0;
|
||||||
|
private int _y = 0;
|
||||||
|
private int _z = 0;
|
||||||
|
private int _status = 0;
|
||||||
|
|
||||||
|
public ExItemAuctionStatus()
|
||||||
|
{
|
||||||
|
final Spawn spawn = SpawnTable.getInstance().getAnySpawn(AUCTION_MANAGER);
|
||||||
|
if (spawn != null)
|
||||||
|
{
|
||||||
|
_x = spawn.getX();
|
||||||
|
_y = spawn.getY();
|
||||||
|
_z = spawn.getZ();
|
||||||
|
|
||||||
|
final ItemAuctionInstance manager = ItemAuctionManager.getInstance().getManagerInstance(AUCTION_MANAGER);
|
||||||
|
if (manager != null)
|
||||||
|
{
|
||||||
|
final ItemAuction auction = manager.getCurrentAuction();
|
||||||
|
if (auction != null)
|
||||||
|
{
|
||||||
|
_status = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean write(PacketWriter packet)
|
||||||
|
{
|
||||||
|
OutgoingPackets.EX_ITEM_AUCTION_STATUS.writeId(packet);
|
||||||
|
packet.writeD(_x);
|
||||||
|
packet.writeD(_y);
|
||||||
|
packet.writeD(_z);
|
||||||
|
packet.writeD(0x00);
|
||||||
|
packet.writeH(_status);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
@@ -724,7 +724,7 @@ public enum OutgoingPackets
|
|||||||
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
EX_RAID_BOSS_SPAWN_INFO(0xFE, 0x1B9),
|
||||||
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
EX_RAID_SERVER_INFO(0xFE, 0x1BA),
|
||||||
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
EX_SHOW_AGIT_SIEGE_INFO(0xFE, 0x1BB),
|
||||||
EX_ITEM_ACTION_STATUS(0xFE, 0x1BC),
|
EX_ITEM_AUCTION_STATUS(0xFE, 0x1BC),
|
||||||
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
EX_MONSTER_BOOK(0xFE, 0x1BD),
|
||||||
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
EX_MONSTER_BOOK_REWARD_ICON(0xFE, 0x1BE),
|
||||||
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
EX_MONSTER_BOOK_REWARD_FACTION_UI(0xFE, 0x1BF),
|
||||||
|
Reference in New Issue
Block a user