mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-24 06:34:18 +01:00
tank model and collision
This commit is contained in:
1 parent
9968b2c83d
commit
9e4d9c7968
19 files changed
+278
-206
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { EquipmentDefinitions } from "@blitzkit/core";
|
||||
import { api } from "../../../core/blitzkit/api";
|
||||
|
||||
export { getStaticPaths } from "../_index";
|
||||
|
||||
export async function GET() {
|
||||
const definitions = await api.equipmentDefinitions();
|
||||
const bytes = EquipmentDefinitions.encode(definitions).finish();
|
||||
|
||||
return new Response(bytes);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { SkillDefinitions } from "@blitzkit/core";
|
||||
import { api } from "../../../core/blitzkit/api";
|
||||
|
||||
export { getStaticPaths } from "../_index";
|
||||
|
||||
export async function GET() {
|
||||
const definitions = await api.skillDefinitions();
|
||||
const bytes = SkillDefinitions.encode(definitions).finish();
|
||||
|
||||
return new Response(bytes);
|
||||
}
|
||||
Reference in new issue
Block a user