Many changes. Commit before I break down.
- Authentication middleware uses Zod - PhotonRegionId in config - DB key changes and additions - WebSocket for SignalR mock - Presence additions * Needs modification for playerIds (do not store `Profile` in a set, this will cause sync issues) - Profile settings - Profile Device Class - Zod properly checks for issuer in token - Room scene type bug - Setting key import started - Instancing changes - PlayerReporting API route - Deduplicated auth/connect/token - match/player/login begin - WebSocket hands off connection to SignalR handler
This commit is contained in:
@@ -26,4 +26,20 @@ route.router.post('/v1/hile',
|
||||
log.w(`Client sent hile report: '${rq.body.Message}'`);
|
||||
},
|
||||
|
||||
);
|
||||
|
||||
route.router.get('/v1/moderationBlockDetails',
|
||||
|
||||
APIUtils.Authentication,
|
||||
|
||||
(_rq, rs) => {
|
||||
// todo: moderation
|
||||
rs.json({
|
||||
ReportCategory: 0,
|
||||
Duration: 0,
|
||||
GameSessionId: 0,
|
||||
Message: ""
|
||||
});
|
||||
}
|
||||
|
||||
);
|
||||
Reference in New Issue
Block a user