Package forestry.mail.network

Examples of forestry.mail.network.PacketLetterInfo


        crafter.sendProgressBarUpdate(this, 0, currentItPos);
        crafter.sendProgressBarUpdate(this, 1, maxItPos);
        crafter.sendProgressBarUpdate(this, 2, currentFilter);
      }

      Proxies.net.sendToPlayer(new PacketLetterInfo(PacketIds.LETTER_INFO, EnumAddressee.TRADER, currentTrade, null), player);
      needsSynch = false;
    }
  }
View Full Code Here


   
    // Update the trading info
    updateTradeInfo(player.worldObj, recipient);
   
    // Update info on client
    Proxies.net.sendToPlayer(new PacketLetterInfo(PacketIds.LETTER_INFO, type, tradeInfo, recipient), player);
  }
View Full Code Here

    try {

      PacketUpdate packet;
      switch (packetID) {
      case PacketIds.LETTER_INFO:
        PacketLetterInfo packetT = new PacketLetterInfo();
        packetT.readData(data);
        onLetterInfo(packetT);
        break;
      case PacketIds.POBOX_INFO:
        PacketPOBoxInfo packetP = new PacketPOBoxInfo();
        packetP.readData(data);
View Full Code Here

TOP

Related Classes of forestry.mail.network.PacketLetterInfo

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.