@Override
public void fromBytes(ByteBuf buf) {
try {
this.cooldown = buf.readInt();
this.maxCooldown = buf.readInt();
this.className = ByteBufUtils.readUTF8String(buf);
this.cooldownFieldName = ByteBufUtils.readUTF8String(buf);
this.maxCooldownFieldName = ByteBufUtils.readUTF8String(buf);
} catch (IndexOutOfBoundsException ioe) {
Utils.getLogger(Refs.NAME).catching(ioe);
return;
}
this.messageValid = true;
}
PacketReturnWorker.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:VanillaExtras
作者:
评论列表
文章目录