/// <summary>Raises the AvatarSitResponse event</summary> /// <param name="e">A AvatarSitResponseEventArgs object containing the /// data returned from the data server</param> protected virtual void OnAvatarSitResponse(AvatarSitResponseEventArgs e) { EventHandler<AvatarSitResponseEventArgs> handler = m_AvatarSitResponse; if (handler != null) handler(this, e); }
void Self_AvatarSitResponse(object sender, AvatarSitResponseEventArgs e) { Gtk.Application.Invoke(delegate{ // we sat down togglesat(); }); }
public virtual void Self_OnAvatarSitResponse(object sender, AvatarSitResponseEventArgs e) { OnEvent("On-Avatar-Sit-Response", paramNamesOnAvatarSitResponse, paramTypesOnAvatarSitResponse, e); }
void Self_AvatarSitResponse(object sender, AvatarSitResponseEventArgs e) { instance.State.SitPrim = e.ObjectID; instance.State.IsSitting = true; BeginInvoke(new MethodInvoker(delegate() { btnSitOn.Text = "&Stand"; })); }
void Self_AvatarSitResponse(object sender, AvatarSitResponseEventArgs e) { Gtk.Application.Invoke(delegate { this.button_siton.Label = "Stand"; sat = true; }); }
void Self_AvatarSitResponse(object sender, AvatarSitResponseEventArgs e) { client.Self.AvatarSitResponse -= new EventHandler<AvatarSitResponseEventArgs>(Self_AvatarSitResponse); if (e.ObjectID == requestedsitprim) { this.sitting = true; sitprim = e.ObjectID; sitpos = e.SitPosition; //instance.TabConsole.DisplayChatScreen("Auto-sitting on object " + requestedsitprim.ToString()); } else { // failed to sit //instance.TabConsole.DisplayChatScreen("Failed to sit on object " + requestedsitprim.ToString()); } requestedsitprim = UUID.Zero; }