@Override
public void toBytes(ByteBuf buf) {
NBTTagCompound compound = new NBTTagCompound();
compound.setInteger("size", objects.length);
for(int i = 0; i < objects.length; i++) compound.setByteArray("byte" + i, HarshenUtils.serialize(objects[i]));
ByteBufUtils.writeTag(buf, compound);
}
BaseMessagePacketSendPackage.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:harshencastle
作者:
评论列表
文章目录