diff options
Diffstat (limited to 'OpenSim.RegionServer/AuthenticateSessionsBase.cs')
-rw-r--r-- | OpenSim.RegionServer/AuthenticateSessionsBase.cs | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/OpenSim.RegionServer/AuthenticateSessionsBase.cs b/OpenSim.RegionServer/AuthenticateSessionsBase.cs index f784f54..91bc54d 100644 --- a/OpenSim.RegionServer/AuthenticateSessionsBase.cs +++ b/OpenSim.RegionServer/AuthenticateSessionsBase.cs | |||
@@ -81,8 +81,29 @@ namespace OpenSim | |||
81 | this.AgentCircuits[(uint)agentData.circuitcode].firstname = agentData.firstname; | 81 | this.AgentCircuits[(uint)agentData.circuitcode].firstname = agentData.firstname; |
82 | this.AgentCircuits[(uint)agentData.circuitcode].lastname = agentData.lastname; | 82 | this.AgentCircuits[(uint)agentData.circuitcode].lastname = agentData.lastname; |
83 | this.AgentCircuits[(uint)agentData.circuitcode].startpos = agentData.startpos; | 83 | this.AgentCircuits[(uint)agentData.circuitcode].startpos = agentData.startpos; |
84 | // Console.WriteLine("update user start pos is " + agentData.startpos.X + " , " + agentData.startpos.Y + " , " + agentData.startpos.Z); | ||
85 | |||
86 | } | ||
87 | |||
88 | } | ||
89 | |||
90 | public void UpdateAgentChildStatus(uint circuitcode, bool childstatus) | ||
91 | { | ||
92 | if (this.AgentCircuits.ContainsKey(circuitcode)) | ||
93 | { | ||
94 | this.AgentCircuits[circuitcode].child = childstatus; | ||
95 | |||
96 | } | ||
97 | } | ||
98 | |||
99 | public bool GetAgentChildStatus(uint circuitcode) | ||
100 | { | ||
101 | if (this.AgentCircuits.ContainsKey(circuitcode)) | ||
102 | { | ||
103 | return this.AgentCircuits[circuitcode].child; | ||
104 | |||
84 | } | 105 | } |
85 | 106 | return false; | |
86 | } | 107 | } |
87 | } | 108 | } |
88 | } | 109 | } |