Difference between revisions of "LlGetParcelMusicURL/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
Line 2: Line 2:
|func_sleep|func_energy
|func_sleep|func_energy
|func=llGetParcelMusicURL|sort=GetParcelMusicURL
|func=llGetParcelMusicURL|sort=GetParcelMusicURL
|return_text=containing the parcel [[Streaming Music|streaming audio]] URL.
|return_text=パーセルに含まれる[[Streaming Music|ストリーミングオーディオ]]のURLを含みます。
|return_type=string
|return_type=string
|func_footnote=The object owner must also be the land owner. If the land is deeded to a group the object will need to be deeded to the same group for this function to work.
|func_footnote=オブジェクトの所有者は土地の所有者である必要があります。土地がグループに譲渡されている場合、この機能が機能するためにはオブジェクトも同じグループに譲渡されている必要があります。
|func_desc|spec|caveats
|func_desc|spec|caveats
|examples=
|examples=
Line 31: Line 31:
|helpers|related
|helpers|related
|also_functions=
|also_functions=
{{LSL DefineRow||[[llSetParcelMusicURL]]|Sets the music stream URL for the parcel object is on}}
{{LSL DefineRow||[[llSetParcelMusicURL/ja]]|パーセル上のオブジェクトの音楽ストリームのURLを設定します}}
|deepnotes=*With this function, music display boards can learn the URL that the parcel is tuned to.
|deepnotes=*この関数を使用すると、音楽ディスプレイボードはパーセルが調整されているURLを取得できます。
|history=
|history=
*Suggested: {{Jira|SCR-31}}
*Suggested: {{Jira|SCR-31}}

Latest revision as of 15:51, 22 November 2023

要約

関数: string llGetParcelMusicURL( );

パーセルに含まれるストリーミングオーディオのURLを含みます。を string で返します。

オブジェクトの所有者は土地の所有者である必要があります。土地がグループに譲渡されている場合、この機能が機能するためにはオブジェクトも同じグループに譲渡されている必要があります。

サンプル

string parcel_music_url()
{
    string parcelMusicURL = llGetParcelMusicURL();

    if (parcelMusicURL != "")
        return parcelMusicURL;
//  else
        return "Sorry, could not retrieve parcel's music URL.\n"
            + "You'll either need to be the land owner or able to deed me.";

}

default
{
    touch_start(integer num_detected)
    {
        // PUBLIC_CHANNEL has the integer value 0
        llSay(PUBLIC_CHANNEL, parcel_music_url() );
    }
}

関連項目

関数

•  llSetParcelMusicURL/ja パーセル上のオブジェクトの音楽ストリームのURLを設定します

特記事項

  • この関数を使用すると、音楽ディスプレイボードはパーセルが調整されているURLを取得できます。

経緯

  • Suggested: SCR-31
  • Server release notes for 11.12.03.246118 on the main channel indicate that this function was added. Testing on the main release on 19-Dec-2011 has this function compiling without error but the output is empty.
  • Tests OK on main channel as of January 22 2012

Search JIRA for related Issues

Signature

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