Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Open Simulator Technical Help
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
OpenSimulator Internals/SimulationService
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= OpenSimulator Internals/SimulationService = == Overview == SimulationService provides general simulation functions. Used for login-to-simulator communication and simulator-to-simulator communication (teleport, region crossing, moving objects between regions). Runs per-simulator, not on ROBUST. ---- == Interface == namespace OpenSim.Services.Interfaces { public interface ISimulationService { IScene GetScene(UUID regionId); ISimulationService GetInnerService(); // Agents bool CreateAgent(GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint flags, EntityTransferContext ctx, out string reason); bool UpdateAgent(GridRegion destination, AgentData data, EntityTransferContext ctx); bool UpdateAgent(GridRegion destination, AgentPosition data); bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, List<UUID> features, EntityTransferContext ctx, out string reason); bool ReleaseAgent(UUID originRegion, UUID id, string uri); bool CloseAgent(GridRegion destination, UUID id, string auth_token); // Objects bool CreateObject(GridRegion destination, Vector3 newPosition, ISceneObject sog, bool isLocalCall); } } ---- == Method Notes == {| class="wikitable" ! Method !! Notes |- | GetScene(regionId) || Retrieve the scene for a given region UUID. |- | GetInnerService() || Returns the underlying service implementation. |- | CreateAgent() || Ask the simulator hosting the destination to create an agent. Source will be null if the user logged in directly or arrived from a simulator that does not send this parameter. |- | UpdateAgent(AgentData) || Full child agent update. |- | UpdateAgent(AgentPosition) || Short positional update only. |- | QueryAccess() || Returns whether a prospective user is allowed to visit the region. viaTeleport=true for teleport, false for region crossing. |- | ReleaseAgent() || Message from receiving region to departing region, confirming the client has connected. |- | CloseAgent() || Close and remove an agent from a region. |- | CreateObject() || Create an object in the destination region. Used primarily for prim crossing. |} ---- == See Also == * [[OpenSimulator Internals/OpenSim Services]] * [[OpenSimulator Internals/Connector Architecture]] * [[OpenSimulator Internals/Data Dictionaries]]
Summary:
Please note that all contributions to Open Simulator Technical Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Open Simulator Technical Help:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
OpenSimulator Internals/SimulationService
Add topic