Difference between revisions of "LlReturnObjectsByOwner/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
Line 7: Line 7:
|func=llReturnObjectsByOwner|sort=ReturnObjectsByOwner
|func=llReturnObjectsByOwner|sort=ReturnObjectsByOwner
|p1_type=key|p1_name=owner
|p1_type=key|p1_name=owner
|p2_type=integer|p2_name=scope|p2_desc=OBJECT_RETURN_* flag
|p2_type=integer|p2_name=scope|p2_desc=OBJECT_RETURN_* フラグ
|return_type=integer
|return_type=integer
|func_footnote=If the return value is negative, it represents an [[#{{anchorencode:Error Flags}}|error]] flag.
|func_footnote=返り値が負の場合、[[#{{anchorencode:エラーフラグ}}|エラーフラグ]]を表します。
|func_desc=If the script is owned by an agent, [[PERMISSION_RETURN_OBJECTS]] may be granted by the owner.  If the script is owned by a group, this permission may be granted by an agent belonging to the group's "Owners" role.
|func_desc=スクリプトがエージェントによって所有されている場合、所有者によって[[PERMISSION_RETURN_OBJECTS]]が付与されるかもしれません。スクリプトがグループによって所有されている場合、この権限はグループの「オーナー」ロールに属するエージェントによって付与されるかもしれません。
|return_text=that is the number of objects successfully returned to their owners or an [[#{{anchorencode:Error Flags}}|ERR_*]] flag.
|return_text=それは所有者に正常に返されたオブジェクトの数、または[[#{{anchorencode:エラーフラグ}}|ERR_*]] フラグです。
|spec=
|spec=
==== Throttle ====
==== 制限 ====
Throttled at max parcel land impact capacity region-wide per hour.
地域全体の最大パーセルランドインパクト容量を1時間あたりで制限します。
|caveats=
|caveats=
* Parcel owner, estate owner and estate managers can not have their objects returned by this method.
* パーセルの所有者、地域の所有者、および地域のマネージャーはこのメソッドによってオブジェクトを返すことはできません。
* Objects which are owned by the group the land is set to will not be returned by this method.
* 地域の所有者が設定されているグループに所有されているオブジェクトは、このメソッドによって返されません。
** Objects owned by other groups will be returned to their previous owner if the object is transferable. If not transferable they are deleted.
** 他のグループに属するオブジェクトは、移動可能であれば以前の所有者に返されます。移動不可能な場合は削除されます。
|constants=
|constants=
<div style="display:inline-block; vertical-align: top;">
<div style="display:inline-block; vertical-align: top;">
{{{!}} class="sortable" {{prettytable|style=margin: 0px 10px 10px 0pt;}}
{{{!}} class="sortable" {{prettytable|style=margin: 0px 10px 10px 0pt;}}
{{!}}- {{hl2}}
{{!}}- {{hl2}}
! class="sortable" {{!}} {{LSLPT|scope}} Flag
! class="sortable" {{!}} {{LSLPT|scope}} フラグ
! title="Value" class="sortable" {{!}}
! title="Value" class="sortable" {{!}}
!{{!}} Description
!{{!}} 説明
{{!}}-
{{!}}-
{{LSL ConstTB|OBJECT_RETURN_PARCEL|integer||c=return all objects on the same parcel as the script which are owned by 'owner'}}
{{LSL ConstTB|OBJECT_RETURN_PARCEL|integer||c='owner' が所有するスクリプトと同じパーセル上にある、スクリプトによって所有される全てのオブジェクトを返します。}}
{{!}} Return all objects on the same parcel as the script which are owned by {{LSLPT|owner}}. <br/> The script must be owned by an estate manager or over a parcel owned by the owner of the script.
{{!}}スクリプトはエステートマネージャーによって所有されているか、スクリプトの所有者が所有するパーセル上にある必要があります。
{{!}}-
{{!}}-
{{LSL ConstTB|OBJECT_RETURN_PARCEL_OWNER|integer||c=return all objects owned by 'owner' which are over parcels owned by the owner of the script.}}
{{LSL ConstTB|OBJECT_RETURN_PARCEL_OWNER|integer||c='owner' が所有する、スクリプトの所有者のパーセル上にある全てのオブジェクトを返します。}}
{{!}} Return all objects owned by {{LSLPT|owner}} which are over parcels owned by the owner of the script.
{{!}}スクリプトの所有者が所有するパーセル上にある、'owner' が所有する全てのオブジェクトを返します。
{{!}}-
{{!}}-
{{LSL ConstTB|OBJECT_RETURN_REGION|integer||c=return all objects in the region owned by 'owner'}}
{{LSL ConstTB|OBJECT_RETURN_REGION|integer||c='owner' が所有するリージョン内の全てのオブジェクトを返します。}}
{{!}} Return all objects in the region owned by {{LSLPT|owner}}. <br/> The script must be owned by the estate owner or an estate manager.
{{!}}スクリプトはエステートの所有者またはエステートマネージャーによって所有されている必要があります。
{{!}}}
{{!}}}
</div><div style="display:inline-block; vertical-align: top;">
</div><div style="display:inline-block; vertical-align: top;">
{{LSL_Constants/ReturnError|table=*|sortable=*}}
{{LSL_Constants/ReturnError/ja|table=*|sortable=*}}
</div>
</div>
|examples
|examples
Line 48: Line 48:
|also_events
|also_events
|also_articles
|also_articles
|notes=For group-owned land you may want to explicitly code a group owner's key into the script as there is no way to determine if a user is a group owner.
|notes=グループ所有の土地の場合、ユーザーがグループオーナーかどうかを判別する方法がないため、スクリプトに明示的にグループオーナーのキーをコード化すると良いでしょう。
|cat1=Parcel
|cat1=Parcel
|cat2=Region
|cat2=Region

Latest revision as of 15:27, 22 November 2023

要約

関数: integer llReturnObjectsByOwner( key owner, integer scope );

スクリプトがエージェントによって所有されている場合、所有者によってPERMISSION_RETURN_OBJECTSが付与されるかもしれません。スクリプトがグループによって所有されている場合、この権限はグループの「オーナー」ロールに属するエージェントによって付与されるかもしれません。
それは所有者に正常に返されたオブジェクトの数、またはERR_* フラグです。を integer で返します。

• key owner アバターの UUID
• integer scope OBJECT_RETURN_* フラグ

実行するには、llRequestPermissions による PERMISSION_RETURN_OBJECTS 権限が必要です。 返り値が負の場合、エラーフラグを表します。

仕様

制限

地域全体の最大パーセルランドインパクト容量を1時間あたりで制限します。

scope フラグ 説明
OBJECT_RETURN_PARCEL スクリプトはエステートマネージャーによって所有されているか、スクリプトの所有者が所有するパーセル上にある必要があります。
OBJECT_RETURN_PARCEL_OWNER スクリプトの所有者が所有するパーセル上にある、'owner' が所有する全てのオブジェクトを返します。
OBJECT_RETURN_REGION スクリプトはエステートの所有者またはエステートマネージャーによって所有されている必要があります。
エラーフラグ 説明
ERR_GENERIC -1 曖昧で説明できないエラー。何もわかっていません。
ERR_PARCEL_PERMISSIONS -2 指定されたパーセルでタスクを実行するための権限がありません。
ERR_MALFORMED_PARAMS -3 パラメータが不正形式です。
ERR_RUNTIME_PERMISSIONS -4 スクリプトには要求されたタスクを実行するためのランタイム権限がありません。
ERR_THROTTLED -5 タスクは制限されています。後でもう一度試してください。

警告

  • 権限の自動付与に頼らないようにしましょう。常に run_time_permissions イベントを使用しましょう。
  • スクリプトに PERMISSION_RETURN_OBJECTS の権限が不足していると、スクリプトはエラーを DEBUG_CHANNEL で叫び、操作に失敗します (しかしスクリプトは処理を続けます)。
  • いったん PERMISSION_RETURN_OBJECTS 権限が付与されると、スクリプトの中で (例えば、新しい llRequestPermissions 呼び出しなどにより) 権限をはく奪することができません。スクリプトはオブジェクトが derez (削除、取り外し、取り込み) されない限り権限が失われません。
  • パーセルの所有者、地域の所有者、および地域のマネージャーはこのメソッドによってオブジェクトを返すことはできません。
  • 地域の所有者が設定されているグループに所有されているオブジェクトは、このメソッドによって返されません。
    • 他のグループに属するオブジェクトは、移動可能であれば以前の所有者に返されます。移動不可能な場合は削除されます。

Important Issues

~ All Issues ~ Search JIRA for related Bugs
   Shared group inventory

サンプル

注意点

グループ所有の土地の場合、ユーザーがグループオーナーかどうかを判別する方法がないため、スクリプトに明示的にグループオーナーのキーをコード化すると良いでしょう。

関連項目

イベント

•  run_time_permissions 権限取得イベント

関数

•  llGetPermissions 付与されている権限を取得します
•  llGetPermissionsKey 権限を許可したエージェントを取得します
•  llRequestPermissions 権限を要求します
•  llReturnObjectsByID/ja
•  llGetParcelPrimOwners/ja
•  llDie/ja

記事

•  権限/スクリプト

特記事項

経緯

Date of Release 18/06/2013

All Issues

~ Search JIRA for related Issues
   Shared group inventory

Signature

function integer llReturnObjectsByOwner( key owner, integer scope );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。