Esempio n. 1
0
        public override void Avatars_OnAvatarPicks(object sender, AvatarPicksReplyEventArgs e)
        {
            var picks = e.Picks;

            foreach (KeyValuePair <UUID, string> kvp in picks)
            {
                AddOther2Key(kvp.Value, kvp.Key);
            }
        }
Esempio n. 2
0
        private void Avatars_OnPicksReply(object sender, AvatarPicksReplyEventArgs e)
        {
            if (e.AvatarID != agentID)
            {
                return;
            }

            this.BeginInvoke(new MethodInvoker(delegate()
            {
                PopulatePicksList(e.Picks);
                loadwait1.Visible = false;
            }));
        }
Esempio n. 3
0
 void Avatars_AvatarPicksReply(object sender, AvatarPicksReplyEventArgs e)
 {
     foreach (KeyValuePair <UUID, string> kvp in e.Picks)
     {
         if (e.AvatarID == Client.Self.AgentID)
         {
             Client.Self.PickDelete(kvp.Key);
         }
         else
         {
             Client.Avatars.RequestPickInfo(e.AvatarID, kvp.Key);
         }
     }
 }
Esempio n. 4
0
        void Avatars_AvatarPicksReply(object sender, AvatarPicksReplyEventArgs e)
        {
            if (e.AvatarID != agentID)
            {
                return;
            }

            if (InvokeRequired)
            {
                BeginInvoke(new MethodInvoker(() => Avatars_AvatarPicksReply(sender, e)));
                return;
            }
            gotPicks = true;
            DisplayListOfPicks(e.Picks);
        }