void Self_OnTeleport(string message, AgentManager.TeleportStatus status, AgentManager.TeleportFlags flags) { if (status == AgentManager.TeleportStatus.Finished) { this.avatars.Clear(); } }
public void Self_OnTeleport(string message, AgentManager.TeleportStatus status, AgentManager.TeleportFlags flags) { Hashtable item = new Hashtable(); item.Add("MessageType", "Teleport"); item.Add("Status", status); item.Add("Flags", flags); if (status == AgentManager.TeleportStatus.Finished) { Client.Self.Movement.Camera.SetPositionOrientation(new LLVector3(128, 128, 0), 0, 0, 0); } enqueue(item); }
public TeleportStatusEventArgs(string message, AgentManager.TeleportStatus status, AgentManager.TeleportFlags flags) { this.message = message; this.status = status; this.flags = flags; }