diff --git a/Reisen/DanceCheat/DanceCheat/DanceCheat.h b/Reisen/DanceCheat/DanceCheat/DanceCheat.h index cc6cdf4..f769be8 100644 --- a/Reisen/DanceCheat/DanceCheat/DanceCheat.h +++ b/Reisen/DanceCheat/DanceCheat/DanceCheat.h @@ -1,7 +1,7 @@ /* MIT License -Copyright (c) 2022-2023 Reisen +Copyright (c) 2022-2024 Reisen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -88,11 +88,6 @@ void SELECT_BY_AVZ_VERSION(DanceCheatNotInQueue, DanceCheat)(DanceCheatMode mode void DanceCheat(DanceCheatMode mode) { AvZ::InsertOperation([=]{ DanceCheatNotInQueue(mode); }); } -#else -[[nodiscard("ARelOp 需要绑定到时间才会执行")]] -ARelOp DanceCheatR(DanceCheatMode mode) { - return ARelOp([=]{ DanceCheat(mode); }); -} #endif #undef SELECT_BY_AVZ_VERSION diff --git a/Reisen/DanceCheat/DanceCheat/information.txt b/Reisen/DanceCheat/DanceCheat/information.txt index 578aadf..c87db4f 100644 --- a/Reisen/DanceCheat/DanceCheat/information.txt +++ b/Reisen/DanceCheat/DanceCheat/information.txt @@ -1,2 +1,2 @@ -version 1.1.0 +version 1.2.0 avz 2022_10_01 diff --git a/Reisen/DanceCheat/README.md b/Reisen/DanceCheat/README.md index 20f9e5f..ae44745 100644 --- a/Reisen/DanceCheat/README.md +++ b/Reisen/DanceCheat/README.md @@ -14,15 +14,29 @@ void SetDance(bool state); // mode = DanceCheatMode::SLOW: 开启减速模式 // mode = DanceCheatMode::STOP: 关闭 Dance 秘籍,恢复正常运动模式 void DanceCheat(DanceCheatMode mode); -ARelOp DanceCheatR(DanceCheatMode mode); + +// 示例: +AConnect(ATime(1, 0), []{ DanceCheat(DanceCheatMode::FAST); }); +OnWave(2) Do { DanceCheat(DanceCheatMode::STOP); }; ``` AvZ1: ```cpp // Not In Queue +// 将当前普僵运动模式设为 state(true = dance,false = 正常) void SetDance(bool state); +// mode = DanceCheatMode::FAST: 开启加速模式 +// mode = DanceCheatMode::SLOW: 开启减速模式 +// mode = DanceCheatMode::STOP: 关闭 Dance 秘籍,恢复正常运动模式 void DanceCheat(DanceCheatMode mode); void DanceCheatNotInQueue(DanceCheatMode mode); + +// 示例: +SetTime(0, 1); +DanceCheat(DanceCheatMode::FAST); +InsertTimeOperation(0, 2, [](){ + DanceCheatNotInQueue(DanceCheatMode::STOP); +}); ```