Difference between revisions of "CHANGED REGION START/ja"

From Second Life Wiki
Jump to navigation Jump to search
(新規作成)
 
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
|name=CHANGED_REGION_START
|name=CHANGED_REGION_START
|type=integer
|type=integer
|value={{LSL Hex|0x400}}
|value={{LSL Hex/ja|0x400}}
|desc=オブジェクトがある地域はたった今オンラインになりました。
|desc=オブジェクトのある地域がたった今オンラインになりました。
|notes=地域が (再) 起動されたると、全ての[[http request/ja|HTTP server]] URL は自動的に解放され、使えなくなります。
|notes=地域が (再) 起動されると、全ての [[http request/ja|HTTP server]] URL は自動的に解放され、違うものになります。
|examples=
|examples=
<lsl>
<source lang="lsl2">
default
default
{
{
     changed(integer change)
     changed(integer change)
     {
     {
         if (change & CHANGED_REGION_START) // & です。&& ではありません。論理積です!
         if (change & CHANGED_REGION_START) //note that it's & and not &&... it's bitwise!
         {
         {
             llInstantMessage(llGetOwner(), llGetRegionName() + " は再起動されました。");
             llInstantMessage(llGetOwner(), llGetRegionName() + " has restarted.");
         }
         }
     }
     }
}
}
</lsl>
</source>
|functions=
|functions=
{{LSL DefineRow||[[llRequestSimulatorData/ja|llRequestSimulatorData]]|}}
{{LSL DefineRow||{{LSLG/ja|llRequestSimulatorData}}|}}
|events=
|events=
{{LSL DefineRow||[[changed/ja|changed]]|}}
{{LSL DefineRow||{{LSLG/ja|changed}}|}}
|history=
|history=
*提案: {{Jira|SVC-1086}} - LSL http_server
*Suggestion: {{Jira|SVC-1086}} - LSL http_server
*提案: {{Jira|SVC-3773}} - CHANGED_REGION_RESTART から CHANGED_REGION_START へ変更
*Suggestion: {{Jira|SVC-3773}} - CHANGED_REGION_RESTART から CHANGED_REGION_START に変更される
*実装: {{SVN|1836|rev=112899 |trunk=*|anchor=file15|ver=1.23.0.0|ser=1.27.0.112940}} ~ クライアント [[Release Notes/Second Life Release/1.23|1.23]] ~ サーバ [[Release Notes/Second Life Server/1.27|1.27]]
*Implementation: {{SVN|1836|rev=112899 |trunk=*|anchor=file15|ver=1.23.0.0|ser=1.27.0.112940}} ~ クライアント [[Release Notes/Second Life Release/1.23|1.23]] ~ サーバ [[Release Notes/Second Life Server/1.27|1.27]]
|cat1=Region
|cat1=Region
|cat2=HTTP/Server
|cat2=HTTP/Server

Latest revision as of 14:56, 25 February 2016

解説

定数: integer CHANGED_REGION_START = 0x400;

integer 定数 CHANGED_REGION_START の値は 0x400 です。

オブジェクトのある地域がたった今オンラインになりました。

関連記事

関数

•  llRequestSimulatorData

イベント

•  changed

サンプル

default
{
    changed(integer change)
    {
        if (change & CHANGED_REGION_START) //note that it's & and not &&... it's bitwise!
        {
            llInstantMessage(llGetOwner(), llGetRegionName() + " has restarted.");
        }
    }
}

注意事項

地域が (再) 起動されると、全ての HTTP server URL は自動的に解放され、違うものになります。

特記事項

経緯

全ての記事

JIRA で関連記事を検索

この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)