mirror of
https://github.com/shiroikitsu8/Bayshore_6r_legacy.git
synced 2024-12-01 10:37:28 +01:00
Removed mostly broken scratch sheet stuff
This commit is contained in:
parent
c5d41df574
commit
621bdb0ac5
@ -913,6 +913,7 @@ export default class GameModule extends Module {
|
||||
// Get the information from the request
|
||||
let body = wm.wm.protobuf.SaveScratchSheetRequest.decode(req.body);
|
||||
|
||||
/*
|
||||
// Get all of the scratch sheets for the user
|
||||
let scratchSheets = await prisma.scratchSheet.findMany({
|
||||
where: {
|
||||
@ -981,16 +982,13 @@ export default class GameModule extends Module {
|
||||
})
|
||||
);
|
||||
}
|
||||
*/
|
||||
|
||||
let msg = {
|
||||
error: wm.wm.protobuf.ErrorCode.ERR_SUCCESS,
|
||||
scratchSheets : scratch_sheets,
|
||||
scratchSheets : [],
|
||||
currentSheet: body.targetSheet,
|
||||
numOfScratched: numOfScratched,
|
||||
earnedItem: wm.wm.protobuf.UserItem.create({
|
||||
category: scratchSquare.category,
|
||||
itemId: scratchSquare.itemId,
|
||||
})
|
||||
numOfScratched: 0,
|
||||
}
|
||||
|
||||
let resp = wm.wm.protobuf.SaveScratchSheetResponse.encode(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user