|
@@ -16,7 +16,7 @@
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
*/
|
|
-package com.iohao.mmo.mail.client;
|
|
|
|
|
|
+package com.iohao.mmo.client.input;
|
|
|
|
|
|
import com.iohao.game.action.skeleton.protocol.wrapper.BoolValue;
|
|
import com.iohao.game.action.skeleton.protocol.wrapper.BoolValue;
|
|
import com.iohao.game.action.skeleton.protocol.wrapper.ByteValueList;
|
|
import com.iohao.game.action.skeleton.protocol.wrapper.ByteValueList;
|
|
@@ -25,9 +25,9 @@ import com.iohao.game.action.skeleton.protocol.wrapper.WrapperKit;
|
|
import com.iohao.game.common.kit.TimeKit;
|
|
import com.iohao.game.common.kit.TimeKit;
|
|
import com.iohao.game.external.client.AbstractInputCommandRegion;
|
|
import com.iohao.game.external.client.AbstractInputCommandRegion;
|
|
import com.iohao.game.external.client.kit.ScannerKit;
|
|
import com.iohao.game.external.client.kit.ScannerKit;
|
|
-import com.iohao.mmo.bag.ItemTypeIdConst;
|
|
|
|
-import com.iohao.mmo.common.provide.kit.ItemTypeNodeKit;
|
|
|
|
-import com.iohao.mmo.common.provide.kit.ItemNode;
|
|
|
|
|
|
+import com.iohao.mmo.common.provide.item.ItemTypeIdConst;
|
|
|
|
+import com.iohao.mmo.client.common.item.ItemTypeNodeKit;
|
|
|
|
+import com.iohao.mmo.client.common.item.ItemTypeNode;
|
|
import com.iohao.mmo.mail.cmd.MailCmd;
|
|
import com.iohao.mmo.mail.cmd.MailCmd;
|
|
import com.iohao.mmo.mail.kit.InternalMailBuilder;
|
|
import com.iohao.mmo.mail.kit.InternalMailBuilder;
|
|
import com.iohao.mmo.mail.proto.InternalMailMessage;
|
|
import com.iohao.mmo.mail.proto.InternalMailMessage;
|
|
@@ -142,8 +142,8 @@ public class MailInputCommandRegion extends AbstractInputCommandRegion {
|
|
arguments = list.toArray();
|
|
arguments = list.toArray();
|
|
}
|
|
}
|
|
|
|
|
|
- ItemNode convert(MailAttachmentMessage attachmentMessage) {
|
|
|
|
- return new ItemNode(attachmentMessage.itemTypeId, attachmentMessage.quantity);
|
|
|
|
|
|
+ ItemTypeNode convert(MailAttachmentMessage attachmentMessage) {
|
|
|
|
+ return new ItemTypeNode(attachmentMessage.itemTypeId, attachmentMessage.quantity);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|