adds ParcelReturnAll
This commit is contained in:
parent
93ab8b3ca8
commit
bbb7405dcd
1 changed files with 10 additions and 0 deletions
|
|
@ -696,6 +696,16 @@ namespace SecondBotEvents.Commands
|
||||||
return BasicReply("ok", [avatar]);
|
return BasicReply("ok", [avatar]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[About("Returns all objects from the current parcel for all avatars")]
|
||||||
|
[ReturnHints("ok")]
|
||||||
|
[ReturnHintsFailure("Error not in a sim")]
|
||||||
|
[ReturnHintsFailure("Parcel data not ready")]
|
||||||
|
public object ParcelReturnAll()
|
||||||
|
{
|
||||||
|
GetClient().Parcels.ReturnObjects(GetClient().Network.CurrentSim, targetparcel.LocalID, ObjectReturnType.None, null);
|
||||||
|
return BasicReply("ok");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
[About("transfers the current parcel ownership to the assigned group")]
|
[About("transfers the current parcel ownership to the assigned group")]
|
||||||
[ReturnHints("ok")]
|
[ReturnHints("ok")]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue