mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
a bit more refactoring
This commit is contained in:
@@ -63,5 +63,15 @@ namespace OpenSim
|
||||
this.AgentCircuits.Add(circuitCode, agentData);
|
||||
}
|
||||
}
|
||||
|
||||
public LLVector3 GetPosition(uint circuitCode)
|
||||
{
|
||||
LLVector3 vec = new LLVector3();
|
||||
if (this.AgentCircuits.ContainsKey(circuitCode))
|
||||
{
|
||||
vec = this.AgentCircuits[circuitCode].startpos;
|
||||
}
|
||||
return vec;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user