private void RegionHandshakeReplyHandler(Packet packet, LLAgent agent) { //FIXME: is this really where this belongs? EconomyDataPacket economy = new EconomyDataPacket(); economy.Info.PriceUpload = 0; //TODO: populate economy.* m_udp.SendPacket(agent, economy, ThrottleCategory.Task, false); }
/// <summary>Process an incoming packet and raise the appropriate events</summary> /// <param name="sender">The sender</param> /// <param name="e">The EventArgs object containing the packet data</param> protected void EconomyDataHandler(object sender, PacketReceivedEventArgs e) { EconomyDataPacket econ = (EconomyDataPacket)e.Packet; priceUpload = econ.Info.PriceUpload; }
/// <summary> /// Gets the cost of uploading an asset to the grid /// </summary> /// <param name="packet"></param> /// <param name="simulator"></param> private void EconomyDataHandler(Packet packet, Simulator simulator) { EconomyDataPacket econ = (EconomyDataPacket)packet; priceUpload = econ.Info.PriceUpload; }