impl garage lock request
This commit is contained in:
@@ -11,6 +11,7 @@ import { loadServerList } from "./loadServerList";
|
||||
import { loadStocker } from "./loadStocker";
|
||||
import { loadTeamRanking } from "./loadTeamRanking";
|
||||
import { loadTopTen } from "./loadTopTen";
|
||||
import { lockGarage } from "./lockGarage";
|
||||
import { lockProfile } from "./lockProfile";
|
||||
import { saveExpedition } from "./saveExpedition";
|
||||
import { saveProfile } from "./saveProfile";
|
||||
@@ -64,6 +65,9 @@ export function dispatch(w: World, req: Request): Response {
|
||||
case "load_top_ten_req":
|
||||
return loadTopTen(w, req);
|
||||
|
||||
case "lock_garage_request":
|
||||
return lockGarage(w, req);
|
||||
|
||||
case "lock_profile_req":
|
||||
return lockProfile(w, req);
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import { LockGarageRequest } from "../request/lockGarage";
|
||||
import { GenericResponse } from "../response/generic";
|
||||
import { World } from "../world";
|
||||
|
||||
export function lockGarage(w: World, req: LockGarageRequest): GenericResponse {
|
||||
return {
|
||||
type: "generic_res",
|
||||
status: 1, // ignored
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user