コード例 #1
0
 @Override
 public void read(NetInput in) throws IOException {
   this.x = in.readInt();
   this.y = in.readShort();
   this.z = in.readInt();
   this.lines = new String[4];
   this.lines[0] = in.readString();
   this.lines[1] = in.readString();
   this.lines[2] = in.readString();
   this.lines[3] = in.readString();
 }
コード例 #2
0
 @Override
 public void read(NetInput in) throws IOException {
   this.statistic = in.readInt();
   this.amount = in.readInt();
 }