root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/network/aion/serverpackets/SM_ABNORMAL_EFFECT.java
| 1401 | 1515 | ||
|---|---|---|---|
17 | package com.aionemu.gameserver.network.aion.serverpackets; | 17 | package com.aionemu.gameserver.network.aion.serverpackets; |
18 | 18 | ||
19 | import java.nio.ByteBuffer; | 19 | import java.nio.ByteBuffer; |
20 | import java.util.Collection; | ||
20 | 21 | ||
21 | import com.aionemu.gameserver.network.aion.AionConnection; | 22 | import com.aionemu.gameserver.network.aion.AionConnection; |
22 | import com.aionemu.gameserver.network.aion.AionServerPacket; | 23 | import com.aionemu.gameserver.network.aion.AionServerPacket; |
... | ... | ||
29 | { | 30 | { |
30 | private int effectedId; | 31 | private int effectedId; |
31 | private int abnormals; | 32 | private int abnormals; |
32 | private Effect[] effects; | 33 | private Collection<Effect> effects; |
33 | 34 | ||
34 | public SM_ABNORMAL_EFFECT(int effectedId, int abnormals, Effect[] effects) | 35 | public SM_ABNORMAL_EFFECT(int effectedId, int abnormals, Collection<Effect> effects) |
35 | { | 36 | { |
36 | this.effects = effects; | 37 | this.effects = effects; |
37 | this.abnormals = abnormals; | 38 | this.abnormals = abnormals; |
... | ... | ||
46 | writeD(buf, 0); //unk | 47 | writeD(buf, 0); //unk |
47 | writeD(buf, abnormals); //unk | 48 | writeD(buf, abnormals); //unk |
48 | 49 | ||
49 | writeH(buf, effects.length); //effects size | 50 | writeH(buf, effects.size()); //effects size |
50 | 51 | ||
51 | for(Effect effect : effects) | 52 | for(Effect effect : effects) |
52 | { | 53 | { |
Download diff