forked from MagicBane/Server
Renamed class to not conflict with the java.lang version.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
package engine.net.client.msg;
|
||||
|
||||
|
||||
import engine.Enum;
|
||||
import engine.mbEnums;
|
||||
import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
@@ -27,7 +27,7 @@ public class TransferItemFromInventoryToEquipMsg extends ClientNetMsg {
|
||||
private int type;
|
||||
private int objectUUID;
|
||||
|
||||
public Enum.EquipSlotType slot;
|
||||
public mbEnums.EquipSlotType slot;
|
||||
private int pad2;
|
||||
private float unknown1, unknown2;
|
||||
|
||||
@@ -38,7 +38,7 @@ public class TransferItemFromInventoryToEquipMsg extends ClientNetMsg {
|
||||
super(Protocol.EQUIP);
|
||||
}
|
||||
|
||||
public TransferItemFromInventoryToEquipMsg(AbstractCharacter source, Enum.EquipSlotType slot, int templateID) {
|
||||
public TransferItemFromInventoryToEquipMsg(AbstractCharacter source, mbEnums.EquipSlotType slot, int templateID) {
|
||||
super(Protocol.EQUIP);
|
||||
this.sourceType = source.getObjectType().ordinal();
|
||||
this.sourceID = source.getObjectUUID();
|
||||
@@ -67,7 +67,7 @@ public class TransferItemFromInventoryToEquipMsg extends ClientNetMsg {
|
||||
templateID = reader.getInt();
|
||||
type = reader.getInt();
|
||||
objectUUID = reader.getInt();
|
||||
slot = Enum.EquipSlotType.values()[reader.getInt()];
|
||||
slot = mbEnums.EquipSlotType.values()[reader.getInt()];
|
||||
pad2 = reader.getInt();
|
||||
unknown1 = reader.getFloat();
|
||||
unknown2 = reader.getFloat();
|
||||
|
||||
Reference in New Issue
Block a user