diff options
author | David Walter Seikel | 2016-11-03 21:44:39 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-11-03 21:44:39 +1000 |
commit | 134f86e8d5c414409631b25b8c6f0ee45fbd8631 (patch) | |
tree | 216b89d3fb89acfb81be1e440c25c41ab09fa96d /OpenSim/Data/IHGTravelingData.cs | |
parent | More changing to production grid. Double oops. (diff) | |
download | opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.zip opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.gz opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.bz2 opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.xz |
Initial update to OpenSim 0.8.2.1 source code.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/IHGTravelingData.cs (renamed from OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs) | 47 |
1 files changed, 21 insertions, 26 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Data/IHGTravelingData.cs index 7ab2a03..452af7b 100644 --- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/Data/IHGTravelingData.cs | |||
@@ -27,38 +27,33 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using Nini.Config; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | using OpenSim.Region.Physics.Manager; | ||
33 | 32 | ||
34 | namespace OpenSim.Region.Physics.BasicPhysicsPlugin | 33 | namespace OpenSim.Data |
35 | { | 34 | { |
36 | /// <summary> | 35 | // This MUST be a ref type! |
37 | /// Effectively a physics plugin that simulates no physics at all. | 36 | public class HGTravelingData |
38 | /// </summary> | ||
39 | public class BasicPhysicsPlugin : IPhysicsPlugin | ||
40 | { | 37 | { |
41 | public BasicPhysicsPlugin() | 38 | public UUID SessionID; |
42 | { | 39 | public UUID UserID; |
43 | } | 40 | public Dictionary<string, string> Data; |
44 | |||
45 | public bool Init() | ||
46 | { | ||
47 | return true; | ||
48 | } | ||
49 | |||
50 | public PhysicsScene GetScene(string sceneIdentifier) | ||
51 | { | ||
52 | return new BasicScene(sceneIdentifier); | ||
53 | } | ||
54 | 41 | ||
55 | public string GetName() | 42 | public HGTravelingData() |
56 | { | 43 | { |
57 | return ("basicphysics"); | 44 | Data = new Dictionary<string, string>(); |
58 | } | 45 | } |
46 | } | ||
59 | 47 | ||
60 | public void Dispose() | 48 | /// <summary> |
61 | { | 49 | /// An interface for connecting to the user grid datastore |
62 | } | 50 | /// </summary> |
51 | public interface IHGTravelingData | ||
52 | { | ||
53 | HGTravelingData Get(UUID sessionID); | ||
54 | HGTravelingData[] GetSessions(UUID userID); | ||
55 | bool Store(HGTravelingData data); | ||
56 | bool Delete(UUID sessionID); | ||
57 | void DeleteOld(); | ||
63 | } | 58 | } |
64 | } | 59 | } \ No newline at end of file |