==== XML ====
==== PHP ====
// return user_id or 0 if user not found
function rpcf_get_user_by_account($account_id) { //0x2026
$ret=array();
if (!$this->connection->urfa_call(0x2026)) {
print "Error calling function ". __FUNCTION__ ."\n";
return FALSE;
}
$packet = $this->connection->getPacket();
$packet->DataSetInt($account_id);
$this->connection->urfa_send_param($packet);
if ($x = $this->connection->urfa_get_data()) {
$user_id = $x->DataGetInt();
}
// $this->connection->urfa_get_data();
return $user_id;
}