PacketReturnWorker.java 文件源码

java
阅读 22 收藏 0 点赞 0 评论 0

项目:VanillaExtras 作者:
@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;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号