void VJSGroup::_getID( XBOX::VJSParms_getProperty& ioParms, CUAGGroup* inGroup) { VUUID id; inGroup->GetID(id); VString s; s.FromVUUID(id); ioParms.ReturnString(s); }
void VJSUser::_getID( XBOX::VJSParms_getProperty& ioParms, CUAGUser* inUser) { VUUID id; inUser->GetID(id); VString s; s.FromVUUID(id); ioParms.ReturnString(s); }
void VJSSession::_getID( XBOX::VJSParms_getProperty& ioParms, CUAGSession* inSession) { VString s; VUUID xid; inSession->GetID(xid); xid.GetString(s); ioParms.ReturnString(s); }
void VJSXMLHttpRequest::_GetResponseText(XBOX::VJSParms_getProperty& ioParms, XMLHttpRequest* inXhr) { if(inXhr) { XBOX::VString value; XBOX::VError res=inXhr->GetResponseText(&value); //returns an empty string on error ioParms.ReturnString(value); } else XBOX::vThrowError(VE_XHRQ_JS_BINDING_ERROR); }
void VJSGroup::_getFullName( XBOX::VJSParms_getProperty& ioParms, CUAGGroup* inGroup) { VString s; inGroup->GetFullName(s); ioParms.ReturnString(s); }
void VJSUser::_getFullName( XBOX::VJSParms_getProperty& ioParms, CUAGUser* inUser) { VString s; inUser->GetFullName(s); ioParms.ReturnString(s); }