/// <param name="simulator">A reference to the <seealso cref="OpenMetaverse.Simulator"/> object where the objects reside</param>
/// <param name="localIDs">An array which contains the IDs of the objects to change the name of</param>
/// <param name="names">An array which contains the new names of the objects</param>
public void SetNames(Simulator simulator, long[] localIDs, String[] names)
{
ObjectNamePacket namePacket = new ObjectNamePacket();
namePacket.AgentData.AgentID = Client.self.getAgentID();
namePacket.AgentData.SessionID = Client.self.getSessionID();
namePacket.ObjectData = new ObjectNamePacket.ObjectDataBlock[localIDs.length];