- Support specifying URL in loginParameters for connecting to OpenSim
- Patch some miscellaneous OpenSim related glitches - Add waitForRegionHandshake function - Add a concurrent promise queue - Fix xml writing of Vector3s - Fix asset downloading on grids without HTTP assets - Fix buildObject to properly orientate prims - Wrangled with CreateSelected all day and it turned out to be an OpenSim bug - LinkFrom function for faster linking - Updated LLSD library to fix LLMesh decoding
This commit is contained in:
@@ -853,6 +853,28 @@ export class GameObject implements IGameObjectData
|
||||
await this.region.circuit.waitForAck(this.region.circuit.sendMessage(msg, PacketFlags.Reliable), 30000);
|
||||
}
|
||||
|
||||
async linkFrom(objects: GameObject[])
|
||||
{
|
||||
const msg = new ObjectLinkMessage();
|
||||
msg.AgentData = {
|
||||
AgentID: this.region.agent.agentID,
|
||||
SessionID: this.region.circuit.sessionID
|
||||
};
|
||||
msg.ObjectData = [
|
||||
{
|
||||
ObjectLocalID: this.ID
|
||||
}
|
||||
];
|
||||
for (const obj of objects)
|
||||
{
|
||||
msg.ObjectData.push(
|
||||
{
|
||||
ObjectLocalID: obj.ID
|
||||
});
|
||||
}
|
||||
await this.region.circuit.waitForAck(this.region.circuit.sendMessage(msg, PacketFlags.Reliable), 30000);
|
||||
}
|
||||
|
||||
async setDescription(desc: string)
|
||||
{
|
||||
this.description = desc;
|
||||
|
||||
Reference in New Issue
Block a user