コード例 #1
0
 public static void setMousePokemon(DataInputStream dataStream) {
   MaemeDataPacket p = new MaemeDataPacket();
   try {
     p.readPacketData(dataStream);
     mousePokemon = p;
   } catch (IOException e) {
     e.printStackTrace();
   }
 }
コード例 #2
0
 public static void addToList(DataInputStream dataStream) {
   MaemeDataPacket p = new MaemeDataPacket();
   try {
     p.readPacketData(dataStream);
     store[p.boxNumber][p.order] = p;
   } catch (IOException e) {
     e.printStackTrace();
   }
 }