public static OSDMap AgentLoggedOut(UUID AgentID, UUID requestingRegion, AgentPosition agentpos)
        {
            OSDMap llsdBody = new OSDMap
                                  {
                                      {"AgentID", AgentID},
                                      {"AgentPos", agentpos.ToOSD()},
                                      {"RequestingRegion", requestingRegion}
                                  };

            return buildEvent("AgentLoggedOut", llsdBody, AgentID, requestingRegion);
        }
        public static OSDMap SendChildAgentUpdate(AgentPosition agentpos, UUID requestingRegion)
        {
            OSDMap llsdBody = new OSDMap { { "AgentPos", agentpos.ToOSD() } };

            return buildEvent("SendChildAgentUpdate", llsdBody, agentpos.AgentID, requestingRegion);
        }