Пример #1
0
 void EventManager_OnNewPresence(IScenePresence presence)
 {
     if (_OnNewUser != null)
     {
         NewUserEventArgs e = new NewUserEventArgs();
         e.Avatar = new SPAvatar(m_internalScene, presence.UUID, m_security);
         _OnNewUser(this, e);
     }
 }
Пример #2
0
 private void EventManager_OnNewPresence(IScenePresence presence)
 {
     if (_OnNewUser != null)
     {
         NewUserEventArgs e = new NewUserEventArgs
                                  {Avatar = new SPAvatar(m_internalScene, presence.UUID, m_security)};
         _OnNewUser(this, e);
     }
 }