void EventManager_OnNewPresence(ScenePresence presence) { if (_OnNewUser != null) { NewUserEventArgs e = new NewUserEventArgs(); e.Avatar = new SPAvatar(m_internalScene, presence.UUID); _OnNewUser(this, e); } }
private void EventManager_OnNewPresence(ScenePresence presence) { if (_OnNewUser != null) { NewUserEventArgs e = new NewUserEventArgs(); e.Avatar = new SPAvatar(m_internalScene, presence.UUID, m_security); _OnNewUser(this, e); } }
private void TriggerNewUser(IWorld world, NewUserEventArgs args) { _world = world; Root.QueueEvent(() => _OnNewUser(this, args)); }