ForEachClient() public method

public ForEachClient ( Action action ) : void
action Action
return void
Ejemplo n.º 1
0
 protected void KillEntities(Scene scene, ISceneEntity[] grp)
 {
     scene.ForEachClient(delegate(IClientAPI client)
     {
         client.SendKillObject(scene.RegionInfo.RegionHandle, grp);
     });
 }
Ejemplo n.º 2
0
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            m_SceneList.Remove(scene);
            scene.EventManager.OnNewClient -= OnNewClient;
            m_TransferModule.OnUndeliveredMessage -= UndeliveredMessage;

            scene.ForEachClient(delegate(IClientAPI client)
            {
                client.OnRetrieveInstantMessages -= RetrieveInstantMessages;
                client.OnMuteListRequest -= OnMuteListRequest;
            });
        }
Ejemplo n.º 3
0
 protected void KillEntity(Scene scene, ISceneEntity entity)
 {
     scene.ForEachClient(delegate(IClientAPI client)
     {
         client.SendKillObject(scene.RegionInfo.RegionHandle, new ISceneEntity[] { entity });
     });
 }