예제 #1
0
 void EventManager_OnRemovePresence (IScenePresence presence)
 {
     ScriptControllerPresenceModule m = (ScriptControllerPresenceModule)presence.RequestModuleInterface<IScriptControllerModule> ();
     if (m != null)
     {
         m.Close ();
         presence.UnregisterModuleInterface<IScriptControllerModule> (m);
     }
 }
예제 #2
0
        protected void EventManager_OnRemovePresence(IScenePresence presence)
        {
            PerClientSelectionParticles particles = presence.RequestModuleInterface <PerClientSelectionParticles>();

            if (particles != null)
            {
                particles.Close();
                presence.UnregisterModuleInterface(particles);
            }
        }
예제 #3
0
        void EventManager_OnRemovePresence(IScenePresence presence)
        {
            ScriptControllerPresenceModule m = (ScriptControllerPresenceModule)presence.RequestModuleInterface <IScriptControllerModule> ();

            if (m != null)
            {
                m.Close();
                presence.UnregisterModuleInterface <IScriptControllerModule> (m);
            }
        }
        void EventManager_OnRemovePresence(IScenePresence presence)
        {
            AvatarAppearanceModule m = (AvatarAppearanceModule)presence.RequestModuleInterface <IAvatarAppearanceModule> ();

            if (m != null)
            {
                m.Close();
                presence.UnregisterModuleInterface <IAvatarAppearanceModule> (m);
            }
        }
예제 #5
0
        void EventManager_OnRemovePresence(IScenePresence presence)
        {
            CombatPresence m = (CombatPresence)presence.RequestModuleInterface <ICombatPresence> ();

            if (m != null)
            {
                presence.UnregisterModuleInterface <ICombatPresence> (m);
                m.Close();
            }
        }
 private void EventManager_OnRemovePresence(IScenePresence presence)
 {
     AvatarApperanceModule m = (AvatarApperanceModule) presence.RequestModuleInterface<IAvatarAppearanceModule>();
     if (m != null)
     {
         m.Close();
         presence.UnregisterModuleInterface<IAvatarAppearanceModule>(m);
     }
 }
예제 #7
0
 protected void EventManager_OnRemovePresence(IScenePresence presence)
 {
     PerClientSelectionParticles particles = presence.RequestModuleInterface<PerClientSelectionParticles>();
     if (particles != null)
     {
         particles.Close();
         presence.UnregisterModuleInterface(particles);
     }
 }
예제 #8
0
 private void EventManager_OnRemovePresence(IScenePresence presence)
 {
     CombatPresence m = (CombatPresence) presence.RequestModuleInterface<ICombatPresence>();
     if (m != null)
     {
         presence.UnregisterModuleInterface<ICombatPresence>(m);
         m.Close();
     }
 }