]> git.localhorst.tv Git - alttp.git/blobdiff - app/Http/Controllers/AosSeedController.php
first half of AoS generator
[alttp.git] / app / Http / Controllers / AosSeedController.php
index 8cdc58bf5a7b520e864e54ec14715c28cfaf285d..a1718a13fcaee60da1c91ba502edcac27e7ea00b 100644 (file)
@@ -42,6 +42,10 @@ class AosSeedController extends Controller
                return $seed->toJson();
        }
 
+       public function presets() {
+               return array_values(AosrPresetCommand::$presets);
+       }
+
        public function retry($hash) {
                $seed = AosSeed::where('hash', '=', $hash)->firstOrFail();