diff options
author | MW | 2007-07-15 17:40:21 +0000 |
---|---|---|
committer | MW | 2007-07-15 17:40:21 +0000 |
commit | a87ebda8950d4ab3bb8ceb2afe2801d530703d8f (patch) | |
tree | 877a42b4ca882b80e408dec2796ee4e6a2d50920 /OpenSim/Region/Examples | |
parent | * PROTIP: It helps to know what your doing when playing with reflection. (diff) | |
download | opensim-SC-a87ebda8950d4ab3bb8ceb2afe2801d530703d8f.zip opensim-SC-a87ebda8950d4ab3bb8ceb2afe2801d530703d8f.tar.gz opensim-SC-a87ebda8950d4ab3bb8ceb2afe2801d530703d8f.tar.bz2 opensim-SC-a87ebda8950d4ab3bb8ceb2afe2801d530703d8f.tar.xz |
Removed reference to Scene EventManager from primitive. In its place, primitive now has its own event (OnPrimCountTainted) that ParcelManager subscribes to.
Removed some unused code from SimpleApp.
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/Program.cs | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 1c502ed..f8c99aa 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs | |||
@@ -18,7 +18,7 @@ using OpenSim.Region.Environment.Scenes; | |||
18 | 18 | ||
19 | namespace SimpleApp | 19 | namespace SimpleApp |
20 | { | 20 | { |
21 | class Program : IAssetReceiver, conscmd_callback | 21 | class Program : conscmd_callback |
22 | { | 22 | { |
23 | private LogBase m_log; | 23 | private LogBase m_log; |
24 | AuthenticateSessionsBase m_circuitManager; | 24 | AuthenticateSessionsBase m_circuitManager; |
@@ -42,7 +42,6 @@ namespace SimpleApp | |||
42 | 42 | ||
43 | LocalAssetServer assetServer = new LocalAssetServer(); | 43 | LocalAssetServer assetServer = new LocalAssetServer(); |
44 | assetServer.SetServerInfo("http://127.0.0.1:8003/", ""); | 44 | assetServer.SetServerInfo("http://127.0.0.1:8003/", ""); |
45 | assetServer.SetReceiver(this); | ||
46 | 45 | ||
47 | AssetCache assetCache = new AssetCache(assetServer); | 46 | AssetCache assetCache = new AssetCache(assetServer); |
48 | 47 | ||
@@ -83,40 +82,6 @@ namespace SimpleApp | |||
83 | m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit."); | 82 | m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit."); |
84 | m_log.ReadLine(); | 83 | m_log.ReadLine(); |
85 | } | 84 | } |
86 | |||
87 | private bool AddNewSessionHandler(ulong regionHandle, Login loginData) | ||
88 | { | ||
89 | m_log.WriteLine(LogPriority.NORMAL, "Region [{0}] recieved Login from [{1}] [{2}]", regionHandle, loginData.First, loginData.Last); | ||
90 | |||
91 | AgentCircuitData agent = new AgentCircuitData(); | ||
92 | agent.AgentID = loginData.Agent; | ||
93 | agent.firstname = loginData.First; | ||
94 | agent.lastname = loginData.Last; | ||
95 | agent.SessionID = loginData.Session; | ||
96 | agent.SecureSessionID = loginData.SecureSession; | ||
97 | agent.circuitcode = loginData.CircuitCode; | ||
98 | agent.BaseFolder = loginData.BaseFolder; | ||
99 | agent.InventoryFolder = loginData.InventoryFolder; | ||
100 | agent.startpos = new LLVector3(128, 128, 70); | ||
101 | |||
102 | m_circuitManager.AddNewCircuit(agent.circuitcode, agent); | ||
103 | |||
104 | return true; | ||
105 | } | ||
106 | |||
107 | #region IAssetReceiver Members | ||
108 | |||
109 | public void AssetReceived(AssetBase asset, bool IsTexture) | ||
110 | { | ||
111 | throw new Exception("The method or operation is not implemented."); | ||
112 | } | ||
113 | |||
114 | public void AssetNotFound(AssetBase asset) | ||
115 | { | ||
116 | throw new Exception("The method or operation is not implemented."); | ||
117 | } | ||
118 | |||
119 | #endregion | ||
120 | 85 | ||
121 | #region conscmd_callback Members | 86 | #region conscmd_callback Members |
122 | 87 | ||