Merge pull request #49 from shiroikitsu8/master-asakura
no register app pop up
This commit is contained in:
commit
5780c8b9ba
@ -299,27 +299,42 @@ export default class UserModule extends Module {
|
||||
// Response data
|
||||
let msg = {
|
||||
error: wm.wm.protobuf.ErrorCode.ERR_SUCCESS,
|
||||
numOfOwnedCars: user.cars.length,
|
||||
spappState: wm.wm.protobuf.SmartphoneAppState.SPAPP_UNREGISTERED,
|
||||
transferState: wm.wm.protobuf.TransferState.TRANSFERRED,
|
||||
carStates,
|
||||
userId: user.id,
|
||||
|
||||
// Bannapassport Data
|
||||
unlockAt: null,
|
||||
accessCode: null,
|
||||
banapassportAmId: 1,
|
||||
mbId: 1,
|
||||
tutorials: user.tutorials,
|
||||
unusedCarTickets: tickets,
|
||||
mbid: 1,
|
||||
userId: user.id,
|
||||
|
||||
// 5 cars in-game, 200 cars on terminal
|
||||
numOfOwnedCars: user.cars.length,
|
||||
cars: user.cars.slice(0, body.maxCars),
|
||||
carStates,
|
||||
|
||||
// Ticket Owned
|
||||
unusedCarTickets: tickets,
|
||||
fullTunedCarTicket: true,
|
||||
|
||||
// Tutorials Confirmed
|
||||
tutorials: user.tutorials,
|
||||
|
||||
// Competition (OCM) participation
|
||||
competitionUserState: wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_NOT_PARTICIPATED,
|
||||
|
||||
// Set the window sticker string for all cars
|
||||
windowStickerString: wsString,
|
||||
|
||||
// Set the window sticker font for all cars
|
||||
windowStickerFont: wsFont,
|
||||
|
||||
// Set initial value for competition (OCM) participation
|
||||
competitionUserState: wm.wm.protobuf.GhostCompetitionParticipantState.COMPETITION_NOT_PARTICIPATED
|
||||
// Wangan Navi
|
||||
spappState: wm.wm.protobuf.SmartphoneAppState.SPAPP_BNID,
|
||||
|
||||
// idk what this is
|
||||
transferState: wm.wm.protobuf.TransferState.TRANSFERRED,
|
||||
wasCreatedToday: false,
|
||||
|
||||
// Invite Friend Campaign Event
|
||||
participatedInInviteFriendCampaign: false
|
||||
}
|
||||
|
||||
|
||||
|
@ -31,6 +31,7 @@ export async function saveTimeAttackResult(body: wm.protobuf.SaveGameResultReque
|
||||
dbId: currentRecord!.dbId
|
||||
},
|
||||
data: {
|
||||
model: body.car!.model!,
|
||||
time: body.taResult!.time,
|
||||
section1Time: body!.taResult!.section_1Time,
|
||||
section2Time: body!.taResult!.section_2Time,
|
||||
|
Loading…
Reference in New Issue
Block a user