root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/network/aion/clientpackets/CM_VIEW_PLAYER_DETAILS.java
| 966 | 993 | ||
|---|---|---|---|
18 | 18 | ||
19 | import org.apache.log4j.Logger; | 19 | import org.apache.log4j.Logger; |
20 | 20 | ||
21 | import com.aionemu.gameserver.model.gameobjects.player.Inventory; | 21 | import com.aionemu.gameserver.model.gameobjects.player.Storage; |
22 | import com.aionemu.gameserver.model.gameobjects.player.Player; | 22 | import com.aionemu.gameserver.model.gameobjects.player.Player; |
23 | import com.aionemu.gameserver.network.aion.AionClientPacket; | 23 | import com.aionemu.gameserver.network.aion.AionClientPacket; |
24 | import com.aionemu.gameserver.network.aion.serverpackets.SM_VIEW_PLAYER_DETAILS; | 24 | import com.aionemu.gameserver.network.aion.serverpackets.SM_VIEW_PLAYER_DETAILS; |
... | ... | ||
32 | public class CM_VIEW_PLAYER_DETAILS extends AionClientPacket | 32 | public class CM_VIEW_PLAYER_DETAILS extends AionClientPacket |
33 | { | 33 | { |
34 | private static final Logger log = Logger.getLogger(CM_VIEW_PLAYER_DETAILS.class); | 34 | private static final Logger log = Logger.getLogger(CM_VIEW_PLAYER_DETAILS.class); |
35 | | 35 | |
36 | private int targetObjectId; | 36 | private int targetObjectId; |
37 | 37 | ||
38 | @Inject | 38 | @Inject |
... | ... | ||
65 | log.warn("CHECKPOINT: can't show player details for " + targetObjectId); | 65 | log.warn("CHECKPOINT: can't show player details for " + targetObjectId); |
66 | return; | 66 | return; |
67 | } | 67 | } |
68 | Inventory inventory = player.getInventory(); | 68 | Storage inventory = player.getInventory(); |
69 | 69 | ||
70 | sendPacket(new SM_VIEW_PLAYER_DETAILS(inventory.getEquippedItems())); | 70 | sendPacket(new SM_VIEW_PLAYER_DETAILS(inventory.getEquippedItems())); |
71 | } | 71 | } |
Download diff