Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
feat: experimentalの非experimental化
Browse files Browse the repository at this point in the history
  • Loading branch information
atsumalion committed Mar 10, 2020
1 parent cd2c4e7 commit ca0669c
Show file tree
Hide file tree
Showing 38 changed files with 141 additions and 135 deletions.
66 changes: 36 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,53 @@ RPGアツマール公式による、RPGツクールMVプラグインです。

## アツマールAPIを利用するためのプラグイン

### AtsumaruCreatorInformationModalExperimental.js
### AtsumaruCreatorInformationModal.js

アツマールAPIの「作者情報ダイアログ」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/creator-modal)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruCreatorInformationModalExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruCreatorInformationModalExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruCreatorInformationModal.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruCreatorInformationModal.ts)

### AtsumaruGetRecentUsersExperimental.js
### AtsumaruGetRecentUsers.js

アツマールAPIの「最新ユーザー取得」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/user)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruGetRecentUsersExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruGetRecentUsersExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruGetRecentUsers.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruGetRecentUsers.ts)

### AtsumaruGetSelfInformationExperimental.js
### AtsumaruGetSelfInformation.js

アツマールAPIの「自身のユーザー情報取得」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/user)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruGetSelfInformationExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruGetSelfInformationExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruGetSelfInformation.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruGetSelfInformation.ts)

### AtsumaruGetUserInformationExperimental.js
### AtsumaruGetUserInformation.js

アツマールAPIの「ユーザー情報取得」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/user)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruGetUserInformationExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruGetUserInformationExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruGetUserInformation.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruGetUserInformation.ts)

### AtsumaruGlobalServerVariableExperimental.js
### AtsumaruGlobalServerVariable.js

アツマールAPIの「グローバルサーバー変数」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/global-server-variable)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruGlobalServerVariableExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruGlobalServerVariableExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruGlobalServerVariable.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruGlobalServerVariable.ts)

### AtsumaruInterplayerEnableExperimental.js
### AtsumaruInterplayerEnable.js

アツマールAPIの「プレイヤー間通信」を有効化するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/common/interplayer)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruInterplayerEnableExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruInterplayerEnableExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruInterplayerEnable.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruInterplayerEnable.ts)

### AtsumaruOpenLink.js

Expand All @@ -61,37 +61,37 @@ RPGアツマール公式による、RPGツクールMVプラグインです。
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruOpenLink.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruOpenLink.ts)

### AtsumaruQueryExperimental.js
### AtsumaruQuery.js

アツマールAPIの「クエリ取得」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/copy-query)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruQueryExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruQueryExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruQuery.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruQuery.ts)

### AtsumaruScoreboardsExperimental.js
### AtsumaruScoreboards.js

アツマールAPIの「スコアボード」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/scoreboard)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruScoreboardsExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruScoreboardsExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruScoreboards.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruScoreboards.ts)

### AtsumaruScreenshotExperimental.js
### AtsumaruScreenshot.js

アツマールAPIの「スクリーンショット撮影」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/screenshot)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruScreenshotExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruScreenshotExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruScreenshot.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruScreenshot.ts)

### AtsumaruSharedSaveExperimental.js
### AtsumaruSharedSave.js

アツマールAPIの「共有セーブ」を利用するためのプラグインです。
詳しくは[アツマールAPIリファレンス](https://atsumaru.github.io/api-references/shared-save)を参照してください。

- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruSharedSaveExperimental.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruSharedSaveExperimental.ts)
- [プラグイン](https://raw.githubusercontent.com/atsumaru/mv-plugins/master/plugins/AtsumaruSharedSave.js)
- [ソースコード](https://github.com/atsumaru/mv-plugins/blob/master/src/AtsumaruSharedSave.ts)

### DetectAtsumaru.js

Expand Down Expand Up @@ -177,3 +177,9 @@ lintは以下のコマンドで実行できます。
```sh
yarn lint
```

### このリポジトリと@atsumaru/api-typesを一緒に開発し、かつそれをWSL(bash on windows) で開発したい人向けの注意書き

@atsumaru/api-types をyarn link して開発すると一緒に開発できる
この時にyarnコマンドをWSLから使用してはいけない(windows側にあるvscode当のエディタから見て正しくリンクされない)
ちゃんとmingwやpower shellを使いましょう
2 changes: 1 addition & 1 deletion plugins/AtsumaruAutoplayFix.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//=============================================================================
// AtsumaruAutoplayFix.js
//
// Copyright (c) 2018-2019 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Copyright (c) 2018-2020 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//=============================================================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//=============================================================================
// AtsumaruCreatorInformationModalExperimental.js
// AtsumaruCreatorInformationModal.js
//
// Copyright (c) 2018-2019 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Copyright (c) 2018-2020 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//=============================================================================
Expand Down Expand Up @@ -111,7 +111,7 @@
}

/*:
* @plugindesc RPGアツマールの作者情報ダイアログAPI操作のための(Experimental版)プラグインです
* @plugindesc RPGアツマールの作者情報ダイアログAPI操作のためのプラグインです
* @author RPGアツマール開発チーム
*
* @help
Expand All @@ -122,7 +122,7 @@
* DisplayCreatorInformationModal <niconicoUserId> # 指定した<niconicoUserId>の作者情報ダイアログを表示します。省略した場合は現在のゲームの作者の作者情報ダイアログを表示します。
* 作者情報ダイアログ表示 <niconicoUserId> # コマンド名が日本語のバージョンです。動作は上記コマンドと同じ
*/
var displayCreatorInformationModal = window.RPGAtsumaru && window.RPGAtsumaru.experimental && window.RPGAtsumaru.experimental.popups && window.RPGAtsumaru.experimental.popups.displayCreatorInformationModal;
var displayCreatorInformationModal = window.RPGAtsumaru && window.RPGAtsumaru.popups.displayCreatorInformationModal;
prepareBindPromise();
addPluginCommand({
DisplayCreatorInformationModal: DisplayCreatorInformationModal,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//=============================================================================
// AtsumaruGetActiveUserCountExperimental.js
// AtsumaruGetActiveUserCount.js
//
// Copyright (c) 2018-2019 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Copyright (c) 2018-2020 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//=============================================================================
Expand Down Expand Up @@ -181,8 +181,8 @@
* # 取得した情報は、プラグインパラメータで指定した変数IDに代入されます。
* # もしも情報が取得できなかった場合は、エラーメッセージが代入されます。
*/
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGetActiveUserCountExperimental"));
var getActiveUserCount = window.RPGAtsumaru && window.RPGAtsumaru.experimental && window.RPGAtsumaru.experimental.user && window.RPGAtsumaru.experimental.user.getActiveUserCount;
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGetActiveUserCount"));
var getActiveUserCount = window.RPGAtsumaru && window.RPGAtsumaru.user.getActiveUserCount;
ensureValidVariableIds(parameters);
prepareBindPromise();
addPluginCommand({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//=============================================================================
// AtsumaruGetRecentUsersExperimental.js
// AtsumaruGetRecentUsers.js
//
// Copyright (c) 2018-2019 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Copyright (c) 2018-2020 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//=============================================================================
Expand Down Expand Up @@ -174,8 +174,8 @@
* その時セーブしたセーブデータの状態が不確定になりますので、
* 可能な限り「並列処理」以外のトリガーでご利用ください。
*/
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGetRecentUsersExperimental"));
var getRecentUsers = window.RPGAtsumaru && window.RPGAtsumaru.experimental && window.RPGAtsumaru.experimental.user && window.RPGAtsumaru.experimental.user.getRecentUsers;
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGetRecentUsers"));
var getRecentUsers = window.RPGAtsumaru && window.RPGAtsumaru.user.getRecentUsers;
ensureValidVariableIds(parameters);
prepareBindPromise();
addPluginCommand({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//=============================================================================
// AtsumaruGetSelfInformationExperimental.js
// AtsumaruGetSelfInformation.js
//
// Copyright (c) 2018-2019 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Copyright (c) 2018-2020 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//=============================================================================
Expand Down Expand Up @@ -132,7 +132,7 @@
}

/*:
* @plugindesc RPGアツマールのプレイヤー本人の情報を取得するAPIのための(Experimental版)プラグインです
* @plugindesc RPGアツマールのプレイヤー本人の情報を取得するAPIのためのプラグインです
* @author RPGアツマール開発チーム
*
* @param id
Expand Down Expand Up @@ -198,8 +198,8 @@
* その時セーブしたセーブデータの状態が不確定になりますので、
* 可能な限り「並列処理」以外のトリガーでご利用ください。
*/
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGetSelfInformationExperimental"));
var getSelfInformation = window.RPGAtsumaru && window.RPGAtsumaru.experimental && window.RPGAtsumaru.experimental.user && window.RPGAtsumaru.experimental.user.getSelfInformation;
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGetSelfInformation"));
var getSelfInformation = window.RPGAtsumaru && window.RPGAtsumaru.user.getSelfInformation;
ensureValidVariableIds(parameters);
prepareBindPromise();
addPluginCommand({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//=============================================================================
// AtsumaruGetUserInformationExperimental.js
// AtsumaruGetUserInformation.js
//
// Copyright (c) 2018-2019 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Copyright (c) 2018-2020 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//=============================================================================
Expand Down Expand Up @@ -163,7 +163,7 @@
}

/*:
* @plugindesc RPGアツマールの特定ユーザーの情報を取得するAPIのための(Experimental版)プラグインです
* @plugindesc RPGアツマールの特定ユーザーの情報を取得するAPIのためのプラグインです
* @author RPGアツマール開発チーム
*
* @param name
Expand Down Expand Up @@ -217,8 +217,8 @@
* その時セーブしたセーブデータの状態が不確定になりますので、
* 可能な限り「並列処理」以外のトリガーでご利用ください。
*/
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGetUserInformationExperimental"));
var getUserInformation = window.RPGAtsumaru && window.RPGAtsumaru.experimental && window.RPGAtsumaru.experimental.user && window.RPGAtsumaru.experimental.user.getUserInformation;
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGetUserInformation"));
var getUserInformation = window.RPGAtsumaru && window.RPGAtsumaru.user.getUserInformation;
ensureValidVariableIds(parameters);
prepareBindPromise();
addPluginCommand({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//=============================================================================
// AtsumaruGlobalServerVariableExperimental.js
// AtsumaruGlobalServerVariable.js
//
// Copyright (c) 2018-2019 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Copyright (c) 2018-2020 RPGアツマール開発チーム(https://game.nicovideo.jp/atsumaru)
// Released under the MIT license
// http://opensource.org/licenses/mit-license.php
//=============================================================================
Expand Down Expand Up @@ -165,7 +165,7 @@
}

/*:
* @plugindesc RPGアツマールのグローバルサーバー変数のための(Experimental版)プラグインです
* @plugindesc RPGアツマールのグローバルサーバー変数のためのプラグインです
* @author RPGアツマール開発チーム
*
* @param value
Expand Down Expand Up @@ -251,8 +251,8 @@
* その時セーブしたセーブデータの状態が不確定になりますので、
* 可能な限り「並列処理」以外のトリガーでご利用ください。
*/
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGlobalServerVariableExperimental"));
var globalServerVariable = window.RPGAtsumaru && window.RPGAtsumaru.experimental && window.RPGAtsumaru.experimental.globalServerVariable;
var parameters = toTypedParameters(PluginManager.parameters("AtsumaruGlobalServerVariable"));
var globalServerVariable = window.RPGAtsumaru && window.RPGAtsumaru.globalServerVariable;
var triggerCall = globalServerVariable && globalServerVariable.triggerCall;
var triggerCallByName = globalServerVariable && globalServerVariable.triggerCallByName;
var getGlobalServerVariable = globalServerVariable && globalServerVariable.getGlobalServerVariable;
Expand Down
Loading

0 comments on commit ca0669c

Please sign in to comment.