92 lines
No EOL
2.7 KiB
JSON
92 lines
No EOL
2.7 KiB
JSON
{
|
||
"id": 190,
|
||
"name": "SPLIT_CONV",
|
||
"description": "文字列内の指定コンマから次のコンマまでの文字列(要素)を数字に変換し返す。VALUEコモン使用",
|
||
"commands": [
|
||
{
|
||
"code": 103,
|
||
"codeStr": "Comment",
|
||
"stringArgs": [
|
||
"元々はEv_aout用に開発されたコモン。"
|
||
],
|
||
"index": 0
|
||
},
|
||
{
|
||
"code": 103,
|
||
"codeStr": "Comment",
|
||
"stringArgs": [
|
||
"(当時は1行4列の数字を分割する目的で開発された。かつての名は4division。その名のとおり4つまでの要素まで分割可能だったが、現在は汎用性が高まり理論上無限の要素を抽出する事に成功した)"
|
||
],
|
||
"index": 1
|
||
},
|
||
{
|
||
"code": 103,
|
||
"codeStr": "Comment",
|
||
"stringArgs": [
|
||
"受け取った文字列を一文字切り出しし、カンマを見つける。"
|
||
],
|
||
"index": 2
|
||
},
|
||
{
|
||
"code": 103,
|
||
"codeStr": "Comment",
|
||
"stringArgs": [
|
||
"指定カンマから次のカンマ(or空白)までの文字を取得し数値に変換"
|
||
],
|
||
"index": 3
|
||
},
|
||
{
|
||
"code": 103,
|
||
"codeStr": "Comment",
|
||
"stringArgs": [
|
||
"その名もスピリット((コンマを目安に)分割するという意味)"
|
||
],
|
||
"index": 4
|
||
},
|
||
{
|
||
"code": 103,
|
||
"codeStr": "Comment",
|
||
"stringArgs": [
|
||
"例)[マップ移動,10,8] の場合、要素0→0(無)/要素1→10/要素2→8"
|
||
],
|
||
"index": 5
|
||
},
|
||
{
|
||
"code": 103,
|
||
"codeStr": "Comment",
|
||
"stringArgs": [
|
||
"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||
],
|
||
"index": 6
|
||
},
|
||
{
|
||
"code": 300,
|
||
"codeStr": "CommonEventByName",
|
||
"stringArgs": [
|
||
"SPLIT"
|
||
],
|
||
"intArgs": [
|
||
0,
|
||
16777233,
|
||
1600000,
|
||
1600005,
|
||
1600007
|
||
],
|
||
"index": 7
|
||
},
|
||
{
|
||
"code": 300,
|
||
"codeStr": "CommonEventByName",
|
||
"stringArgs": [
|
||
"CONV"
|
||
],
|
||
"intArgs": [
|
||
0,
|
||
16777232,
|
||
1600007,
|
||
1600012
|
||
],
|
||
"index": 8
|
||
}
|
||
]
|
||
} |