Add LoadGeneralRewardResponse notes

Mapped this out while investigating an issue that turned out to be
unrelated, may as well check in my findings.
This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent 141cb4b90c
commit ec1ccb7f7a
3 changed files with 31 additions and 3 deletions
+2 -1
View File
@@ -1,11 +1,12 @@
import { LoadGeneralRewardRequest } from "../request/loadGeneralReward";
import { GenericResponse } from "../response/generic";
import { LoadGeneralRewardResponse } from "../response/loadGeneralReward";
import { World } from "../world";
export function loadGeneralReward(
w: World,
req: LoadGeneralRewardRequest
): GenericResponse {
): LoadGeneralRewardResponse | GenericResponse {
// A non-generic response is also accepted, but why bother
return { type: "generic_res" };
}