wip
This commit is contained in:
@@ -6,6 +6,7 @@ import { discoverProfile } from "./discoverProfile";
|
||||
import { load2on2 } from "./load2on2";
|
||||
import { loadConfig } from "./loadConfig";
|
||||
import { loadConfig2 } from "./loadConfig2";
|
||||
import { loadEventInfo } from "./loadEventInfo";
|
||||
import { loadGarage } from "./loadGarage";
|
||||
import { loadGeneralReward } from "./loadGeneralReward";
|
||||
import { loadGhost } from "./loadGhost";
|
||||
@@ -66,6 +67,9 @@ export async function dispatch(
|
||||
case "discover_profile_req":
|
||||
return discoverProfile(w, req);
|
||||
|
||||
case "load_event_info_req":
|
||||
return loadEventInfo(w, req);
|
||||
|
||||
case "load_garage_req":
|
||||
return loadGarage(w, req);
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Repositories } from "../repo";
|
||||
import { LoadEventInfoRequest } from "../request/loadEventInfo";
|
||||
import { LoadEventInfoResponse } from "../response/loadEventInfo";
|
||||
|
||||
export function loadEventInfo(
|
||||
w: Repositories,
|
||||
req: LoadEventInfoRequest
|
||||
): LoadEventInfoResponse {
|
||||
return {
|
||||
type: "load_event_info_res",
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user