Examples of RecipeShopMsg


Examples of com.l2jfrozen.gameserver.network.serverpackets.RecipeShopMsg

      player.setCreateList(createList);

      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_MANUFACTURE);
      player.sitDown();
      player.broadcastUserInfo();
      player.sendPacket(new RecipeShopMsg(player));
      player.broadcastPacket(new RecipeShopMsg(player));
    }
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.RecipeShopMsg

        {
          active_char.sendPacket(new PrivateStoreMsgBuy(otherPlayer));
        }
        else if(otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_MANUFACTURE)
        {
          active_char.sendPacket(new RecipeShopMsg(otherPlayer));
        }

        otherPlayer = null;
      }
View Full Code Here

Examples of l2p.gameserver.serverpackets.RecipeShopMsg

        {
          player.sendPacket(new PrivateStoreMsgSell(trader));
        }
        else if(trader.getPrivateStoreType() == L2Player.STORE_PRIVATE_MANUFACTURE)
        {
          player.sendPacket(new RecipeShopMsg(trader));
        }
      }
    }
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.RecipeShopMsg

      {
        packets.add(new PrivateStoreMsgSell(activeChar));
      }
      else if(activeChar.getPrivateStoreType() == L2Player.STORE_PRIVATE_MANUFACTURE)
      {
        packets.add(new RecipeShopMsg(activeChar));
      }
    }
    if(activeChar.isDead())
    {
      packets.add(new Die(activeChar));
View Full Code Here

Examples of l2p.gameserver.serverpackets.RecipeShopMsg

    }
    createList.setStoreName(activeChar.getCreateList().getStoreName());
    activeChar.setCreateList(createList);
    activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_MANUFACTURE);
    activeChar.broadcastUserInfo(true);
    activeChar.broadcastPacket(new RecipeShopMsg(activeChar));
    activeChar.sitDown();
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.RecipeShopMsg

      {
        sendPacket(new PrivateStoreMsgSell(activeChar));
      }
      else if (activeChar.getPrivateStoreType() == Player.STORE_PRIVATE_MANUFACTURE)
      {
        sendPacket(new RecipeShopMsg(activeChar));
      }
    }
    if (activeChar.isDead())
    {
      sendPacket(new Die(activeChar));
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.RecipeShopMsg

    if (!createList.isEmpty())
    {
      manufacturer.setCreateList(createList);
      manufacturer.saveTradeList();
      manufacturer.setPrivateStoreType(Player.STORE_PRIVATE_MANUFACTURE);
      manufacturer.broadcastPacket(new RecipeShopMsg(manufacturer));
      manufacturer.sitDown(null);
      manufacturer.broadcastCharInfo();
    }
    manufacturer.sendActionFailed();
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.RecipeShopMsg

      {
        player.sendPacket(new PrivateStoreMsgSell(trader));
      }
      else if (trader.getPrivateStoreType() == Player.STORE_PRIVATE_MANUFACTURE)
      {
        player.sendPacket(new RecipeShopMsg(trader));
      }
    }
    player.setTarget(trader);
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.RecipeShopMsg

      {
        list.add(new PrivateStoreMsgSell(this));
      }
      else if (getPrivateStoreType() == STORE_PRIVATE_MANUFACTURE)
      {
        list.add(new RecipeShopMsg(this));
      }
      if (forPlayer.isInZonePeace())
      {
        return list;
      }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.RecipeShopMsg

                if (otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_SELL)
                  getActiveChar().sendPacket(new PrivateStoreMsgSell(otherPlayer));
                else if (otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_BUY)
                  getActiveChar().sendPacket(new PrivateStoreMsgBuy(otherPlayer));
                else if (otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_MANUFACTURE)
                  getActiveChar().sendPacket(new RecipeShopMsg(otherPlayer));            }

            if (object instanceof L2Character)
            {
                // Update the state of the L2Character object client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the L2PcInstance
                L2Character obj = (L2Character) object;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.