diff options
author | lbsa71 | 2007-07-13 18:01:44 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-13 18:01:44 +0000 |
commit | a076369fa3dee4c99d4b7a6c8b699710c75ebc04 (patch) | |
tree | 58ce13dbce4419bea2e2bef97c8452b90899843e /OpenSim/Region/Examples/SimpleApp/MyWorld.cs | |
parent | * Renamed OpenSim.Region.Enviroment.Scripting to OpenSim.Region.Scripting (diff) | |
download | opensim-SC-a076369fa3dee4c99d4b7a6c8b699710c75ebc04.zip opensim-SC-a076369fa3dee4c99d4b7a6c8b699710c75ebc04.tar.gz opensim-SC-a076369fa3dee4c99d4b7a6c8b699710c75ebc04.tar.bz2 opensim-SC-a076369fa3dee4c99d4b7a6c8b699710c75ebc04.tar.xz |
* I want to commit too!
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 | } |