File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ $api = SecureCoinAPI::getInstance();
3737
3838お金を追加
3939
40- https://github.com/SpaceServerDev/SecureCoinAPI/blob/6039c0e18dedfa58431a77d80e9bbdf2758a15fb /src/space/yurisi/SecureCoinAPI/command/addcoinCommand.php#L44-L50
40+ https://github.com/SpaceServerDev/SecureCoinAPI/blob/32b109c19cb7ba73f3086bfb33d5ad1bc84d30e9 /src/space/yurisi/SecureCoinAPI/command/addcoinCommand.php#L30-L36
4141``` php
4242use space\yurisi\SecureCoinAPI\SecureCoinAPI;
4343use space\yurisi\SecureCoinAPI\History
@@ -71,9 +71,21 @@ $api->takeCoin($history);
7171
7272お金を取得
7373
74- https://github.com/SpaceServerDev/SecureCoinAPI/blob/87252872ac9dd25a450102f807d8b0c231ee6324/src/space/yurisi/SecureCoinAPI/command/seecoinCommand.php#L35
74+ https://github.com/SpaceServerDev/SecureCoinAPI/blob/32b109c19cb7ba73f3086bfb33d5ad1bc84d30e9/src/space/yurisi/SecureCoinAPI/command/takecoinCommand.php#L28-L34
75+
7576``` php
7677$api->getCoin($player->getName());
7778```
7879
7980お金をセット
81+ https://github.com/SpaceServerDev/SecureCoinAPI/blob/32b109c19cb7ba73f3086bfb33d5ad1bc84d30e9/src/space/yurisi/SecureCoinAPI/command/setcoinCommand.php#L29-L35
82+
83+ ``` php
84+ $this->main->setCoin(new History(
85+ $player->getName(),
86+ null,
87+ セットするお金,
88+ "プラグイン名",
89+ "詳細(省略可)"
90+ ));
91+ ```
You can’t perform that action at this time.
0 commit comments