public void SendMessage(ChildAgentPositionUpdate m) { m.ViewerCircuitCode = m_ViewerCircuitCode; m.SessionID = m_Circuit.SessionID; m.AgentID = m_Circuit.RemoteSceneID; m_Circuit.SendMessage(m); }
public ICircuit UseSimCircuit(IPEndPoint ep, UUID sessionID, SceneInterface thisScene, UUID remoteSceneID, uint circuitcode, GridVector remoteLocation, Vector3 remoteOffset) { var circuit = new SimCircuit(this, circuitcode, remoteSceneID, sessionID, remoteLocation, remoteOffset) { Scene = thisScene }; AddCircuit(circuit); var useCircuitCode = new UseCircuitCode { SessionID = sessionID, AgentID = thisScene.ID, CircuitCode = circuitcode }; circuit.SendMessage(useCircuitCode); return(circuit); }