Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package net.minecraft.server;
2
3import java.io.DataInputStream;
4import java.io.DataOutputStream;
5import java.io.IOException;
6
7public class Packet200Statistic extends Packet {
8
9 public int a;
10 public int b;
11
12 public Packet200Statistic() {
13 }
14
15 public Packet200Statistic(int i, int j) {
16 this.a = i;
17 this.b = j;
18 }
19
20 public void a(NetHandler nethandler) {
21 nethandler.a(this);
22 }
23
24 public void a(DataInputStream datainputstream) throws IOException {
25 this.a = datainputstream.readInt();
26 this.b = datainputstream.readByte();
27 }
28
29 public void a(DataOutputStream dataoutputstream) throws IOException {
30 dataoutputstream.writeInt(this.a);
31 dataoutputstream.writeByte(this.b);
32 }
33
34 public int a() {
35 return 6;
36 }
37}