OpenMetaverse.RegistrationApi.GatherCapsResponse C# (CSharp) Method

GatherCapsResponse() private method

private GatherCapsResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void
client OpenMetaverse.Capabilities.CapsClient
response OSD
error System.Exception
return void
        private void GatherCapsResponse(CapsClient client, OSD response, Exception error)
        {
            if (response is OSDMap)
            {
                OSDMap respTable = (OSDMap)response;

                // parse
                _caps = new RegistrationCaps();

                _caps.CreateUser = respTable["create_user"].AsUri();
                _caps.CheckName = respTable["check_name"].AsUri();
                _caps.GetLastNames = respTable["get_last_names"].AsUri();
                _caps.GetErrorCodes = respTable["get_error_codes"].AsUri();

                // finalize
                _initializing++;

                GatherErrorMessages();
            }
        }