diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/MyWorld.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index ee35b8e..39666fb 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs | |||
@@ -52,7 +52,6 @@ namespace SimpleApp | |||
52 | client.SendChatMessage("Ready.", 1, pos, "System", LLUUID.Zero ); | 52 | client.SendChatMessage("Ready.", 1, pos, "System", LLUUID.Zero ); |
53 | }; | 53 | }; |
54 | 54 | ||
55 | client.OnRequestWearables += SendWearables; | ||
56 | client.OnAddPrim += AddNewPrim; | 55 | client.OnAddPrim += AddNewPrim; |
57 | client.OnUpdatePrimGroupPosition += this.UpdatePrimPosition; | 56 | client.OnUpdatePrimGroupPosition += this.UpdatePrimPosition; |
58 | client.OnRequestMapBlocks += this.RequestMapBlocks; | 57 | client.OnRequestMapBlocks += this.RequestMapBlocks; |
@@ -61,20 +60,8 @@ namespace SimpleApp | |||
61 | client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; | 60 | client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest; |
62 | 61 | ||
63 | client.OnCompleteMovementToRegion += delegate() | 62 | client.OnCompleteMovementToRegion += delegate() |
64 | { | ||
65 | client.MoveAgentIntoRegion(m_regInfo, pos, LLVector3.Zero ); | ||
66 | }; | ||
67 | |||
68 | client.OnCompleteMovementToRegion += delegate() | ||
69 | { | 63 | { |
70 | client.SendAvatarData(m_regInfo.RegionHandle, client.FirstName, | ||
71 | client.LastName, client.AgentId, 0, | ||
72 | pos, null); | ||
73 | |||
74 | client.SendChatMessage("Welcome to My World.", 1, pos, "System", LLUUID.Zero ); | 64 | client.SendChatMessage("Welcome to My World.", 1, pos, "System", LLUUID.Zero ); |
75 | |||
76 | |||
77 | |||
78 | }; | 65 | }; |
79 | 66 | ||
80 | client.SendRegionHandshake(m_regInfo); | 67 | client.SendRegionHandshake(m_regInfo); |
@@ -83,11 +70,6 @@ namespace SimpleApp | |||
83 | 70 | ||
84 | } | 71 | } |
85 | 72 | ||
86 | private void SendWearables( IClientAPI client ) | ||
87 | { | ||
88 | client.SendWearables( AvatarWearable.DefaultWearables ); | ||
89 | } | ||
90 | |||
91 | #endregion | 73 | #endregion |
92 | } | 74 | } |
93 | } | 75 | } |