diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/ChildAgentDataUpdate.cs | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/OpenSim/Framework/ChildAgentDataUpdate.cs b/OpenSim/Framework/ChildAgentDataUpdate.cs index 0e72e47..6752412 100644 --- a/OpenSim/Framework/ChildAgentDataUpdate.cs +++ b/OpenSim/Framework/ChildAgentDataUpdate.cs | |||
@@ -54,36 +54,37 @@ namespace OpenSim.Framework | |||
54 | { | 54 | { |
55 | } | 55 | } |
56 | 56 | ||
57 | public ChildAgentDataUpdate(AgentData agent) | 57 | //public ChildAgentDataUpdate(AgentData agent) |
58 | { | 58 | //{ |
59 | ActiveGroupID = agent.ActiveGroupID.Guid; | 59 | // ActiveGroupID = agent.ActiveGroupID.Guid; |
60 | AgentID = agent.AgentID.Guid; | 60 | // AgentID = agent.AgentID.Guid; |
61 | alwaysrun = agent.AlwaysRun; | 61 | // alwaysrun = agent.AlwaysRun; |
62 | AVHeight = agent.Size.Z; | 62 | // AVHeight = agent.Size.Z; |
63 | cameraPosition = new sLLVector3(agent.Center); | 63 | // cameraPosition = new sLLVector3(agent.Center); |
64 | drawdistance = agent.Far; | 64 | // drawdistance = agent.Far; |
65 | godlevel = (float)agent.GodLevel; | 65 | // godlevel = (float)agent.GodLevel; |
66 | if (agent.Groups.Length > 0) | 66 | // if (agent.Groups.Length > 0) |
67 | GroupAccess = (uint)agent.Groups[0].GroupPowers; | 67 | // GroupAccess = (uint)agent.Groups[0].GroupPowers; |
68 | Position = new sLLVector3(agent.Position); | 68 | // Position = new sLLVector3(agent.Position); |
69 | regionHandle = agent.RegionHandle; | 69 | // regionHandle = agent.RegionHandle; |
70 | throttles = agent.Throttles; | 70 | // throttles = agent.Throttles; |
71 | Velocity = new sLLVector3(agent.Velocity); | 71 | // Velocity = new sLLVector3(agent.Velocity); |
72 | } | 72 | //} |
73 | 73 | ||
74 | public ChildAgentDataUpdate(AgentPosition agent) | 74 | //public ChildAgentDataUpdate(AgentPosition agent) |
75 | { | 75 | //{ |
76 | AgentID = agent.AgentID.Guid; | 76 | // AgentID = agent.AgentID.Guid; |
77 | AVHeight = agent.Size.Z; | 77 | // AVHeight = agent.Size.Z; |
78 | cameraPosition = new sLLVector3(agent.Center); | 78 | // cameraPosition = new sLLVector3(agent.Center); |
79 | drawdistance = agent.Far; | 79 | // drawdistance = agent.Far; |
80 | Position = new sLLVector3(agent.Position); | 80 | // Position = new sLLVector3(agent.Position); |
81 | regionHandle = agent.RegionHandle; | 81 | // regionHandle = agent.RegionHandle; |
82 | throttles = agent.Throttles; | 82 | // throttles = agent.Throttles; |
83 | Velocity = new sLLVector3(agent.Velocity); | 83 | // Velocity = new sLLVector3(agent.Velocity); |
84 | } | 84 | //} |
85 | } | 85 | } |
86 | 86 | ||
87 | /* | ||
87 | public interface IAgentData | 88 | public interface IAgentData |
88 | { | 89 | { |
89 | UUID AgentID { get; set; } | 90 | UUID AgentID { get; set; } |
@@ -581,5 +582,6 @@ namespace OpenSim.Framework | |||
581 | System.Console.WriteLine("Position: " + Position); | 582 | System.Console.WriteLine("Position: " + Position); |
582 | } | 583 | } |
583 | } | 584 | } |
585 | */ | ||
584 | 586 | ||
585 | } | 587 | } |