Package logisticspipes.network

Examples of logisticspipes.network.LPDataInputStream


            part = PacketBuffer.pop();
          }
        }
        if(flag) {
          try {
            PacketHandler.onPacketData(new LPDataInputStream(part.getValue2()), part.getValue1());
          } catch(IOException e) {
            e.printStackTrace();
          }
        }
      } while(flag);
View Full Code Here


            part = PacketBuffer.pop();
          }
        }
        if(flag) {
          try {
            PacketHandler.onPacketData(new LPDataInputStream(part.getValue2()), part.getValue1());
          } catch (IOException e) {
            e.printStackTrace();
          }
        }
      } while(flag);
View Full Code Here

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsTileGenericPipe tile = this.getPipe(player.getEntityWorld());
    if(tile == null) return;
    try {
      tile.renderState.readData(new LPDataInputStream(bytesRenderState));
      tile.coreState.readData(new LPDataInputStream(bytesCoreState));
      tile.bcCoreState.readData(new LPDataInputStream(bytesBCCoreState));
      tile.afterStateUpdated();
      tile.pipe.readData(new LPDataInputStream(bytesPipe));
    } catch(IOException e) {
      throw new RuntimeException(e);
    }
  }
View Full Code Here

TOP

Related Classes of logisticspipes.network.LPDataInputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.