$requestType ]); } return curl_exec($curl); } public static function sendInworldIM($fromUUID, $toUUID, $fromName, $targetURL, $text) { $rawXML = "grid_instant_messageposition_x0position_y0position_z0to_agent_id".$toUUID."from_agent_session00000000-0000-0000-0000-000000000000im_session_id".$fromUUID."from_agent_name".$fromName."from_agent_id".$fromUUID."binary_bucketAA==region_handle0region_id00000000-0000-0000-0000-000000000000parent_estate_id1timestamp".time()."dialogAA==offlineAA==from_groupFALSEmessage".$text.""; Util::getDataFromHTTP($targetURL, $rawXML, "text/xml"); } public static function displayError($app, $message): void { $app->template('error.php')->parent('__presession.php')->vars([ 'title' => 'Fehler', 'error-message' => $message ])->render(); } }