コード例 #1
0
 @Override
 public void read(NetInput in) throws IOException {
   this.windowId = in.readUnsignedByte();
   this.property = in.readShort();
   this.value = in.readShort();
 }
コード例 #2
0
 @Override
 public void read(NetInput in) throws IOException {
   this.notification = Notification.values()[in.readUnsignedByte()];
   this.value = this.floatToValue(in.readFloat());
 }