Script APIã§ãã¤ã³ã¯ã©ããçµ±åçã®ã¢ããªã³ãä½ãéã®å ¬å¼æ¨å¥¨ã¨ãã£ã¿ã¼ã¯Visual Studio Codeï¼ä»¥ä¸VSCodeï¼ã§ããããã®ã¾ã¾ä½¿ããããæ¡å¼µæ©è½ãå ¥ããæ¹ãæ ¼æ®µã«éçºã楽ã«ãªãã¾ãã ãã®è¨äºã§ã¯Script APIã§ãã¤ã¯ã©ã®ã¢ããªã³ãéçºããä¸ã§å°å ¥ãã¦ããããVSCodeã®æ¡å¼µæ©è½ãç´¹ä»ãã¾ãã
ãã¤ã¯ã©çµ±åçã«æ©è½ã追å ããä»çµã¿ã¨ãã¦ãã¢ããªã³ããåå¨ãã¾ãããå®ã¯ã¢ããªã³ä»¥å¤ã«ãWebSocketãå©ç¨ããã°ãã¤ã¯ã©çµ±åçã®ãå¤é¨ããããã¤ã¯ã©ãæä½ã§ãã¾ãããã®è¨äºã§ã¯WebSocketãµã¼ãã¼ã®ä½ãæ¹ã¨ãå®éã«æ¥ç¶ãã¦ãã¤ã¯ã©ãé éã§æä½ããæ¹æ³ãç´¹ä»ãã¾ãã ãã¤ã¯ã©çµ±åçã¯WebSocketã§ãµã¼ãã¼ã¨éä¿¡ã§ãã ã¿ãªããã¯ãã¤ã¯ã©çµ±åçã®ãwsserverãã¾ãã¯ãconnectãã³ãã³ãããåãã§ãããããæ®éã«ãã¬ã¤ãã¦ãããã¾ã使ããªãã³ãã³ãã ã¨æè¨ã§ãããããå©ç¨é »åº¦ã®ä½ãã³ãã³ãã ã¨æãã¾ããã³ãã³ãã®èª¬æã¯ãæå®ããURLã®websocketãµã¼ãã¼ã¸ã®æ¥ç¶ã試è¡ããããã¨ãªã£ã¦ãã¾ãã connectã³ãã³ãã®èª¬ææï¼wsserverã³ãã³ããåæ§ã®èª¬æï¼ å®ã¯ãã®ã³ãã³ãããã¤ã¯ãã½ãããæè²ç¨ã«æä¾ãã¦ãããCode Connection for
ãã¹ã¦ã®ãã¤ã³ã¯ã©ãã¿ã¼ã¨ã¢ããªã³ä½ãã®æ¥½ãã¿ãå ±æãããã管ç人ã®ã½ã£ã¡ã¼ã§ãã ä»åã¯ããã¤ã¯ã©ã®ã¢ããªã³ãä½ãã¨ãã«æ¯åå¿ è¦ã«ãªã£ã¦ãããä½ãããªããã¢ããªã³ã®ä½ãæ¹ãç´¹ä»ãã¾ãã é¢ç½ãã¢ããªã³ã便å©ãªã¢ããªã³ãæåã¯ãä½ãããªããã¢ããªã³ããä½ãå§ããã®ã§ãã¾ãã¯ä½ãããªãã¢ããªã³ã®ä½ãæ¹ããã¹ã¿ã¼ãã¡ããã¾ãããã
ãã¤ã¯ã©ã®ã¢ããªã³ãèªåã§ãä½ã£ã¦ã¿ãããã©ãããããã¢ããªã³ã£ã¦ä½ï¼Script APIã£ã¦ãããã®ã使ãã°ããã°ã©ã ãæ¸ããããããã©ãScript APIã£ã¦ä½ï¼ã¨ããæ¹ãããã£ãããã¨æãã¾ããç§ãããã§ããã ããã§ãã®è¨äºã§ã¯ã¢ããªã³ã¨ã¯ãªããªã®ãã¨ããç¹ã¨ãJavaScriptã§ã¹ã¯ãªãããæ¸ãã¦ã¢ããªã³ãä½ããã¨ãã§ãã ãScript APIãã¨ãããã®ã«ã¤ãã¦è§£èª¬ãã¾ãã ã¹ã¯ãªããã使ã£ã¦ã¢ããªã³ãæ¸ããã¨ã§JSONãã¡ã¤ã«ãã³ãã³ããé§ä½¿ãããããæ¯è¼çç°¡åã«ã¢ããªã³ãä½æã§ããããã«ãªãã¾ãã ãã¤ã¯ã©ã®ã¢ããªã³ã£ã¦ãªã«ï¼Script APIã£ã¦ãªã«ï¼ ã¾ãã¯ç¨èªã®ç¢ºèªã¨ãã¦ãã¢ããªã³ãã¨ãScript APIãã«ã¤ãã¦ç°¡åã«æ´çãã¦ããã¾ãã ã¢ããªã³ã¨ã¯ï¼ Minecraftï¼ãã¤ã³ã¯ã©ããã以ä¸ãã¤ã¯ã©ï¼ã®ã¢ããªã³ã¨ã¯ããã¤ã¯ã©çµ±åçã«è¿½å ã®æ©è½ãæä¾ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}