C# Класс OpenSim.Region.Framework.Scenes.SceneManager

Manager for adding, closing and restarting scenes.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( Scene scene ) : void
BackupCurrentScene ( ) : void
Close ( ) : void
Close ( Scene cscene ) : void
CloseScene ( Scene scene ) : void
ForEachScene ( Action action ) : void
ForceCurrentSceneClientUpdate ( ) : void
GetCurrentSceneAvatars ( ) : List
GetCurrentScenePresences ( ) : List
GetRegionInfo ( UUID regionID ) : RegionInfo
HandleEditCommandOnCurrentScene ( string cmdparams ) : void
HandleRestart ( RegionInfo rdata ) : void
LoadArchiveToCurrentScene ( string cmdparams ) : void

Load an OpenSim archive into the current scene. This will load both the shapes of the prims and upload their assets to the asset service.

LoadCurrenSceneMapFromXmlString ( string mapData ) : void
LoadCurrentSceneFromXml ( string filename, bool generateNewIDs, System.Vector3 loadOffset ) : void

Load an xml file of prims in OpenSimulator's original 'xml' file format to the current scene

LoadCurrentSceneFromXml2 ( string filename ) : void

Load an xml file of prims in OpenSimulator's current 'xml2' file format to the current scene

RestartCurrentScene ( ) : void
SaveCurrentSceneMapToXmlString ( ) : string
SaveCurrentSceneToArchive ( string cmdparams ) : void

Save the current scene to an OpenSimulator archive. This archive will eventually include the prim's assets as well as the details of the prims themselves.

SaveCurrentSceneToXml ( string filename ) : void

Save the prims in the current scene to an xml file in OpenSimulator's original 'xml' format

SaveCurrentSceneToXml2 ( string filename ) : void

Save the prims in the current scene to an xml file in OpenSimulator's current 'xml2' format

SaveNamedPrimsToXml2 ( string primName, string filename ) : void
SceneManager ( ) : System
SendCommandToPluginModules ( string cmdparams ) : void
SendSimOnlineNotification ( ulong regionHandle ) : void
SetBypassPermissionsOnCurrentScene ( bool bypassPermissions ) : void
SetDebugPacketLevelOnCurrentScene ( int newDebug ) : void

Set the debug packet level on the current scene. This level governs which packets are printed out to the console.

TryGetAvatarByName ( string avatarName, ScenePresence &avatar ) : bool
TryGetAvatarsScene ( UUID avatarId, Scene &scene ) : bool
TryGetScene ( IPEndPoint ipEndPoint, Scene &scene ) : bool
TryGetScene ( UUID regionID, Scene &scene ) : bool
TryGetScene ( string regionName, Scene &scene ) : bool
TryGetScene ( uint locX, uint locY, Scene &scene ) : bool
TryGetScenePresence ( UUID avatarId, ScenePresence &avatar ) : bool
TrySetCurrentScene ( UUID regionID ) : bool
TrySetCurrentScene ( string regionName ) : bool

Приватные методы

Метод Описание
ForEachCurrentScene ( Action func ) : void

Описание методов

Add() публичный Метод

public Add ( Scene scene ) : void
scene Scene
Результат void

BackupCurrentScene() публичный Метод

public BackupCurrentScene ( ) : void
Результат void

Close() публичный Метод

public Close ( ) : void
Результат void

Close() публичный Метод

public Close ( Scene cscene ) : void
cscene Scene
Результат void

CloseScene() публичный Метод

public CloseScene ( Scene scene ) : void
scene Scene
Результат void

ForEachScene() публичный Метод

public ForEachScene ( Action action ) : void
action Action
Результат void

ForceCurrentSceneClientUpdate() публичный Метод

public ForceCurrentSceneClientUpdate ( ) : void
Результат void

GetCurrentSceneAvatars() публичный Метод

public GetCurrentSceneAvatars ( ) : List
Результат List

GetCurrentScenePresences() публичный Метод

public GetCurrentScenePresences ( ) : List
Результат List

GetRegionInfo() публичный Метод

public GetRegionInfo ( UUID regionID ) : RegionInfo
regionID UUID
Результат OpenSim.Framework.RegionInfo

HandleEditCommandOnCurrentScene() публичный Метод

public HandleEditCommandOnCurrentScene ( string cmdparams ) : void
cmdparams string
Результат void

HandleRestart() публичный Метод

public HandleRestart ( RegionInfo rdata ) : void
rdata OpenSim.Framework.RegionInfo
Результат void

LoadArchiveToCurrentScene() публичный Метод

Load an OpenSim archive into the current scene. This will load both the shapes of the prims and upload their assets to the asset service.
public LoadArchiveToCurrentScene ( string cmdparams ) : void
cmdparams string
Результат void

LoadCurrenSceneMapFromXmlString() публичный Метод

public LoadCurrenSceneMapFromXmlString ( string mapData ) : void
mapData string
Результат void

LoadCurrentSceneFromXml() публичный Метод

Load an xml file of prims in OpenSimulator's original 'xml' file format to the current scene
public LoadCurrentSceneFromXml ( string filename, bool generateNewIDs, System.Vector3 loadOffset ) : void
filename string
generateNewIDs bool
loadOffset System.Vector3
Результат void

LoadCurrentSceneFromXml2() публичный Метод

Load an xml file of prims in OpenSimulator's current 'xml2' file format to the current scene
public LoadCurrentSceneFromXml2 ( string filename ) : void
filename string
Результат void

RestartCurrentScene() публичный Метод

public RestartCurrentScene ( ) : void
Результат void

SaveCurrentSceneMapToXmlString() публичный Метод

public SaveCurrentSceneMapToXmlString ( ) : string
Результат string

SaveCurrentSceneToArchive() публичный Метод

Save the current scene to an OpenSimulator archive. This archive will eventually include the prim's assets as well as the details of the prims themselves.
public SaveCurrentSceneToArchive ( string cmdparams ) : void
cmdparams string
Результат void

SaveCurrentSceneToXml() публичный Метод

Save the prims in the current scene to an xml file in OpenSimulator's original 'xml' format
public SaveCurrentSceneToXml ( string filename ) : void
filename string
Результат void

SaveCurrentSceneToXml2() публичный Метод

Save the prims in the current scene to an xml file in OpenSimulator's current 'xml2' format
public SaveCurrentSceneToXml2 ( string filename ) : void
filename string
Результат void

SaveNamedPrimsToXml2() публичный Метод

public SaveNamedPrimsToXml2 ( string primName, string filename ) : void
primName string
filename string
Результат void

SceneManager() публичный Метод

public SceneManager ( ) : System
Результат System

SendCommandToPluginModules() публичный Метод

public SendCommandToPluginModules ( string cmdparams ) : void
cmdparams string
Результат void

SendSimOnlineNotification() публичный Метод

public SendSimOnlineNotification ( ulong regionHandle ) : void
regionHandle ulong
Результат void

SetBypassPermissionsOnCurrentScene() публичный Метод

public SetBypassPermissionsOnCurrentScene ( bool bypassPermissions ) : void
bypassPermissions bool
Результат void

SetDebugPacketLevelOnCurrentScene() публичный Метод

Set the debug packet level on the current scene. This level governs which packets are printed out to the console.
public SetDebugPacketLevelOnCurrentScene ( int newDebug ) : void
newDebug int
Результат void

TryGetAvatarByName() публичный Метод

public TryGetAvatarByName ( string avatarName, ScenePresence &avatar ) : bool
avatarName string
avatar ScenePresence
Результат bool

TryGetAvatarsScene() публичный Метод

public TryGetAvatarsScene ( UUID avatarId, Scene &scene ) : bool
avatarId UUID
scene Scene
Результат bool

TryGetScene() публичный Метод

public TryGetScene ( IPEndPoint ipEndPoint, Scene &scene ) : bool
ipEndPoint System.Net.IPEndPoint
scene Scene
Результат bool

TryGetScene() публичный Метод

public TryGetScene ( UUID regionID, Scene &scene ) : bool
regionID UUID
scene Scene
Результат bool

TryGetScene() публичный Метод

public TryGetScene ( string regionName, Scene &scene ) : bool
regionName string
scene Scene
Результат bool

TryGetScene() публичный Метод

public TryGetScene ( uint locX, uint locY, Scene &scene ) : bool
locX uint
locY uint
scene Scene
Результат bool

TryGetScenePresence() публичный Метод

public TryGetScenePresence ( UUID avatarId, ScenePresence &avatar ) : bool
avatarId UUID
avatar ScenePresence
Результат bool

TrySetCurrentScene() публичный Метод

public TrySetCurrentScene ( UUID regionID ) : bool
regionID UUID
Результат bool

TrySetCurrentScene() публичный Метод

public TrySetCurrentScene ( string regionName ) : bool
regionName string
Результат bool