mirror of
https://github.com/kcozens/OpenSimSearch.git
synced 2026-08-14 08:52:28 +00:00
Comment classifieds for now
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@89 109abde3-1f22-4c10-b5d7-b6b0135cd00c
This commit is contained in:
@@ -436,23 +436,23 @@ namespace OpenSimSearch.Modules.OpenSearch
|
||||
|
||||
int i = 0;
|
||||
|
||||
foreach (Object o in dataArray)
|
||||
{
|
||||
Hashtable d = (Hashtable)o;
|
||||
|
||||
data[i] = new DirClassifiedReplyData();
|
||||
data[i].classifiedID = new UUID(d["classifiedid"].ToString());
|
||||
data[i].name = d["name"].ToString();
|
||||
data[i].classifiedFlags = (byte)d["classifiedflags"];
|
||||
data[i].creationDate = Convert.ToUInt32(d["creationdate"]);
|
||||
data[i].expirationDate = Convert.ToUInt32(d["expirationdate"]);
|
||||
data[i].price = Convert.ToInt32(d["priceforlisting"]);
|
||||
i++;
|
||||
if (i >= count)
|
||||
break;
|
||||
}
|
||||
|
||||
remoteClient.SendDirClassifiedReply(queryID, data);
|
||||
// foreach (Object o in dataArray)
|
||||
// {
|
||||
// Hashtable d = (Hashtable)o;
|
||||
//
|
||||
// data[i] = new DirClassifiedReplyData();
|
||||
// data[i].classifiedID = new UUID(d["classifiedid"].ToString());
|
||||
// data[i].name = d["name"].ToString();
|
||||
// data[i].classifiedFlags = (byte)d["classifiedflags"];
|
||||
// data[i].creationDate = Convert.ToUInt32(d["creationdate"]);
|
||||
// data[i].expirationDate = Convert.ToUInt32(d["expirationdate"]);
|
||||
// data[i].price = Convert.ToInt32(d["priceforlisting"]);
|
||||
// i++;
|
||||
// if (i >= count)
|
||||
// break;
|
||||
// }
|
||||
//
|
||||
// remoteClient.SendDirClassifiedReply(queryID, data);
|
||||
}
|
||||
|
||||
public void EventInfoRequest(IClientAPI remoteClient, uint queryEventID)
|
||||
|
||||
Reference in New Issue
Block a user