{"action":"created","issue":{"url":"https://api.github.com/repos/takeyari/Lohengrin/issues/1","labels_url":"https://api.github.com/repos/takeyari/Lohengrin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/takeyari/Lohengrin/issues/1/comments","events_url":"https://api.github.com/repos/takeyari/Lohengrin/issues/1/events","html_url":"https://github.com/takeyari/Lohengrin/issues/1","id":57685427,"number":1,"title":"仕様の案","user":{"login":"marihachi","id":10358431,"avatar_url":"https://avatars.githubusercontent.com/u/10358431?v=3","gravatar_id":"","url":"https://api.github.com/users/marihachi","html_url":"https://github.com/marihachi","followers_url":"https://api.github.com/users/marihachi/followers","following_url":"https://api.github.com/users/marihachi/following{/other_user}","gists_url":"https://api.github.com/users/marihachi/gists{/gist_id}","starred_url":"https://api.github.com/users/marihachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marihachi/subscriptions","organizations_url":"https://api.github.com/users/marihachi/orgs","repos_url":"https://api.github.com/users/marihachi/repos","events_url":"https://api.github.com/users/marihachi/events{/privacy}","received_events_url":"https://api.github.com/users/marihachi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-14T07:46:15Z","updated_at":"2015-02-14T08:01:57Z","closed_at":null,"body":"====== Lohengrinコマンドの設計 ======\r\n\r\n== コマンド作成関連 ==\r\n\r\n○コマンドの識別名の列挙\r\n/le cmd list\r\n\r\n○コマンドの情報を表示\r\n/le cmd <識別名>\r\n\r\n○コマンドの作成\r\n/le cmd create <識別名> \"<コマンドの形式>\" \"<内部コマンド情報1>\" [\"<内部コマンド情報2>\"] [...]\r\n内部コマンドは複数一度に登録できる\r\nまた、コマンドや内部コマンドは\"\"で囲って記述する\r\n\r\n○コマンドへの内部コマンドの挿入(挿入する位置を指定)\r\n/le cmd inside insert <識別名> <挿入する位置> \"<内部コマンド情報1>\" [\"<内部コマンド情報2>\"] [...]\r\n\r\n○コマンドへの内部コマンドの挿入(挿入する位置を指定)\r\n/le cmd inside remove <識別名> <挿入する位置> \"<内部コマンド情報1>\" [\"<内部コマンド情報2>\"] [...]\r\n\r\n○コマンドの削除\r\n/le cmd remove <識別名>\r\n\r\n== ポインタ関連 ==\r\n\r\n○座標ポインタの列挙\r\n/le pointer list\r\n\r\n○座標情報よりポインタを作成\r\n/le pointer create <識別名> <x> <y> <z>\r\n\r\n○目線の先のブロックの座標情報よりポインタを作成\r\n/le pointer eyes <識別名>\r\n\r\n○座標ポインタの削除\r\n/le pointer remove <識別名>\r\n\r\n\r\n=========== 説明 ===========\r\n\r\n○識別名\r\nコマンドやポインタを識別するための名前\r\n\r\n○x y z\r\nxyz座標をそれぞれ入れる\r\n\r\n○挿入する位置\r\nインデックス値(0以上の整数)\r\n\r\n○コマンドや内部コマンドの形式\r\nコマンドでは実際にプレイヤーが使うコマンドの書式を記述する\r\n内部コマンドには既に存在するコマンドを入力する。\r\n(ただしleコマンドのメンバを実行させることは出来ない。呼び出しの無限ループを防ぐため)\r\n記述にはa-zと半角スペースが使用可能。\r\nポインタを埋め込むことも可能(書式については次の項で)\r\n\r\n○コマンドへのポインタ埋め込み時の書式\r\nx成分のみ: <ポインタ名>.x\r\ny成分のみ: <ポインタ名>.y\r\nz成分のみ: <ポインタ名>.z\r\nスペース区切りとして: <ポインタ名>\r\n(例)\r\nポインタp が (130,64,250) の時\r\np.x → 130\r\np.y → 64\r\np.z → 250\r\np → 130 64 250\r\nとそれぞれ展開される\r\n"},"comment":{"url":"https://api.github.com/repos/takeyari/Lohengrin/issues/comments/74366312","html_url":"https://github.com/takeyari/Lohengrin/issues/1#issuecomment-74366312","issue_url":"https://api.github.com/repos/takeyari/Lohengrin/issues/1","id":74366312,"user":{"login":"marihachi","id":10358431,"avatar_url":"https://avatars.githubusercontent.com/u/10358431?v=3","gravatar_id":"","url":"https://api.github.com/users/marihachi","html_url":"https://github.com/marihachi","followers_url":"https://api.github.com/users/marihachi/followers","following_url":"https://api.github.com/users/marihachi/following{/other_user}","gists_url":"https://api.github.com/users/marihachi/gists{/gist_id}","starred_url":"https://api.github.com/users/marihachi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marihachi/subscriptions","organizations_url":"https://api.github.com/users/marihachi/orgs","repos_url":"https://api.github.com/users/marihachi/repos","events_url":"https://api.github.com/users/marihachi/events{/privacy}","received_events_url":"https://api.github.com/users/marihachi/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T08:01:57Z","updated_at":"2015-02-14T08:01:57Z","body":"(プルリク入れてみた)"}}