static void client_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { EventQueueRunningEvent.Set(); }
void Network_EventQueueRunning(object sender, EventQueueRunningEventArgs e) { if (e.Simulator == client.Network.CurrentSim) { SetRandomHeading(); } }
private void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { if (e.Simulator == Client.Network.CurrentSim) { Console.WriteLine("Event queue connected for the primary simulator, requesting group info"); Client.Groups.RequestCurrentGroups(); } }
///<summary>Raises the EventQueueRunning Event</summary> /// <param name="e">A EventQueueRunningEventArgs object containing /// the data sent from the simulator</param> protected virtual void OnEventQueueRunning(EventQueueRunningEventArgs e) { EventHandler<EventQueueRunningEventArgs> handler = m_EventQueueRunning; if (handler != null) handler(this, e); }
void Network_EventQueueRunning(object sender, EventQueueRunningEventArgs e) { if (InvokeRequired) { BeginInvoke(new MethodInvoker(() => Network_EventQueueRunning(sender, e))); return; } if (TabExists("friends")) return; if (e.Simulator == client.Network.CurrentSim) { client.Self.UpdateAgentLanguage("en", true); InitializeOnlineTabs(); } }
private void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { if (e.Simulator == Client.Network.CurrentSim && Client.Settings.SEND_AGENT_APPEARANCE) { // Update appearance each time we enter a new sim and capabilities have been retrieved Client.Appearance.RequestSetAppearance(); } }
public override void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { var simulator = e.Simulator; //if (simulator == client.Network.CurrentSim) { new Thread(() => client.Appearance.WearOutfit(new string[] { "Clothing", "Default" })).Start(); } if (string.IsNullOrEmpty(simulator.Name)) { // simulator.Client.Grid.RequestMapItems(simulator.Handle,GridItemType.AgentLocations,GridLayerType.Terrain); } // base.Network_OnEventQueueRunning(simulator); if (simulator == client.Network.CurrentSim) { StartupPostLoginQueues(); // new Thread(() => client.Appearance.SetPreviousAppearance(true)).Start(); } EnsureSimulator(simulator); }
private void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { if (e.Simulator == client.Network.CurrentSim) { GetRoots(); } }
private void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { //Console.WriteLine("Event queue is running for {0}, enabling uploads"); EventQueueRunning = true; }
void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { var simulator = e.Simulator; SendNetworkEvent("On-Event-Queue-Running", simulator); }
private void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { allow_uploads = true; }
void Network_EventQueueRunning(object sender, EventQueueRunningEventArgs e) { if(e.Simulator.ID==MainClass.client.Network.CurrentSim.ID) { this.trying=false; MainClass.client.Self.Movement.Flags=0; MainClass.client.Self.Movement.SendUpdate(); } }
private void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { if (e.Simulator == m_GridClient.Network.CurrentSim) { m_GridClient.Appearance.SetPreviousAppearance(true); } }
public virtual void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { OnEvent("On-Event-Queue-Running", paramNamesOnEventQueueRunning, paramTypesOnEventQueueRunning, e); }
/// <summary> /// Request voice cap when changing regions /// </summary> void Network_EventQueueRunning(object sender, EventQueueRunningEventArgs e) { // We only care about the sim we are in. if (e.Simulator != Client.Network.CurrentSim) return; // Did we provision voice login info? if (string.IsNullOrEmpty(voiceUser)) { // The startup steps are // 0. Get voice account info // 1. Start Daemon // 2. Create TCP connection // 3. Create Connector // 4. Account login // 5. Create session // Get the voice provisioning data System.Uri vCap = Client.Network.CurrentSim.Caps.CapabilityURI("ProvisionVoiceAccountRequest"); // Do we have voice capability? if (vCap == null) { Logger.Log("Null voice capability after event queue running", Helpers.LogLevel.Warning); } else { RequestVoiceProvision(vCap); } return; } else { // Change voice session for this region. ParcelChanged(); } }
private void logged_in(object sender, EventQueueRunningEventArgs e) { if (ExportCommand.Exporting == null) return; Client.Network.EventQueueRunning -= logged_in; UUID id = GetAssetUploadsFolder(); GleanUUIDsFrom(id); }
void Network_EventQueueRunning(object sender, EventQueueRunningEventArgs e) { if(e.Simulator.ID==MainClass.client.Network.CurrentSim.ID) { if (inventoryloaded == false) { inventoryloaded = true; Gtk.Application.Invoke(delegate { inventory.Clear(); populate_top_level_inv(); }); } } }
void Network_EventQueueRunning(object sender, EventQueueRunningEventArgs e) { if (e.Simulator == Client.Network.CurrentSim && !InitiCOF) { InitiCOF = true; InitCOF(); } }
void Network_EventQueueRunning(object sender, EventQueueRunningEventArgs e) { Console.WriteLine("Network_EventQueueRunning"); if (e.Simulator == Client.Network.CurrentSim) { Client.Appearance.RequestSetAppearance(true); } }
private void Network_OnEventQueueRunning(object sender, EventQueueRunningEventArgs e) { Logger.DebugLog("Event queue is running for " + e.Simulator.ToString() + ", enabling uploads", Client); EnableUpload(); }