diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/MyWorld.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index 89f39d3..fe1fc16 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs | |||
@@ -44,7 +44,7 @@ namespace SimpleApp | |||
44 | 44 | ||
45 | #region IWorld Members | 45 | #region IWorld Members |
46 | 46 | ||
47 | override public void AddNewClient(IClientAPI client, LLUUID agentID, bool child) | 47 | override public void AddNewClient(IClientAPI client, bool child) |
48 | 48 | ||
49 | { | 49 | { |
50 | LLVector3 pos = new LLVector3(128, 128, 128); | 50 | LLVector3 pos = new LLVector3(128, 128, 128); |
@@ -59,7 +59,13 @@ namespace SimpleApp | |||
59 | }; | 59 | }; |
60 | 60 | ||
61 | client.OnRequestWearables += SendWearables; | 61 | client.OnRequestWearables += SendWearables; |
62 | 62 | client.OnAddPrim += AddNewPrim; | |
63 | client.OnUpdatePrimPosition += this.UpdatePrimPosition; | ||
64 | client.OnRequestMapBlocks += this.RequestMapBlocks; | ||
65 | client.OnTeleportLocationRequest += this.RequestTeleportLocation; | ||
66 | client.OnGrapUpdate += this.MoveObject; | ||
67 | client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; | ||
68 | |||
63 | client.OnCompleteMovementToRegion += delegate() | 69 | client.OnCompleteMovementToRegion += delegate() |
64 | { | 70 | { |
65 | client.MoveAgentIntoRegion(m_regionInfo, pos, LLVector3.Zero ); | 71 | client.MoveAgentIntoRegion(m_regionInfo, pos, LLVector3.Zero ); |
@@ -76,7 +82,7 @@ namespace SimpleApp | |||
76 | 82 | ||
77 | client.SendRegionHandshake(m_regionInfo); | 83 | client.SendRegionHandshake(m_regionInfo); |
78 | 84 | ||
79 | OpenSim.Region.Environment.Scenes.ScenePresence avatar = new Avatar( client, this, m_regionInfo ); | 85 | CreateAndAddScenePresence(client); |
80 | 86 | ||
81 | } | 87 | } |
82 | 88 | ||
@@ -85,12 +91,6 @@ namespace SimpleApp | |||
85 | client.SendWearables( AvatarWearable.DefaultWearables ); | 91 | client.SendWearables( AvatarWearable.DefaultWearables ); |
86 | } | 92 | } |
87 | 93 | ||
88 | |||
89 | override public void RemoveClient(LLUUID agentID) | ||
90 | { | ||
91 | |||
92 | } | ||
93 | |||
94 | public RegionInfo RegionInfo | 94 | public RegionInfo RegionInfo |
95 | { | 95 | { |
96 | get { return m_regionInfo; } | 96 | get { return m_regionInfo; } |