Fix: experience maestro account type 101, test player account type 100 -> start, result page
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEpQIBAAKCAQEAto8EAdSfG6gOtOgQ6quT9AujI3D7A+LDlSvRSItpDLMk+aif
|
||||
trypybL5s41E0iLM+Kxn673RwFR0NF5XSRswEKQKku+0BxBJukTTkudTBk+zlZAt
|
||||
dvlzzqna6uTdDsUqO4caZxXJ/T2nvLeakoDQ0r01KF/zuYKEKg/fXG86IAGiYYw3
|
||||
USP5pkZ5r5laLA4gF7RI6lG/0j0Gs+cwL0y7rYr63LpwBifFYCpWrEKqHM6bdDyx
|
||||
S8MHmtRbLmZcuj7jyz10hTw6uIhfRM6pMRud8Qk57slsDvgPFC6QMQT1tofwP0OM
|
||||
lqc7udOrAZqtByIdctTxrEU908hfMtQKDfJpswIDAQABAoIBAEY3Vcw6coQZrKZq
|
||||
R+9q1Ppd6357OyDwfFeIxfNII7yNvuADuoJ3qDp7C03DPUAxwHK5JTNoDCAUm6l0
|
||||
y8/DlEYiQirn5W9+FU1+oX30WVupFiKllMcZBTDs5dXI9zlyHl9NBJu3prwvla+h
|
||||
UuOchjU4LxT7auvkRl9DQZ707P9X2XSOqKqzSM1gaJZ4nLjY5QoY6i6RYCTc+VgN
|
||||
tyWPh5MEROtjN+mZW4ztutrT1PC0vNx9ZwdtPe16/ydPbaYZJux010Bb1g0PAPQK
|
||||
m1TfceeVahqubFhMEep2ykI0RkpxtFD4M+6KqEkiiDAEKCDssSOjiPfJ4G8rwzKA
|
||||
DEp/ugECgYEA+qWIf/+5zYH42XkywpEO0oI6Me2znfF3Ms65X+PvqI/Fc3n9i0f4
|
||||
WmLCQsY/osS5zQ8FAOgq7h1W2+9Oqb76p88UCOYJaWErQtlGKJ2O1ViMjiku9VHk
|
||||
72vUjX2gRVjO6ga9eapHS1B1JoHh0s2AyA8LVhB+XATfFD1UGAqHELMCgYEAunUy
|
||||
OlX0ddjAU7grwc8KQJWcAfgkuKun+jaT9bIf1Uquv/KLTJbEdFH7a/7OOwBwZYiG
|
||||
5lv5de6eHx4e3qBSiJrr3k9+eaAw8V5iwlS854+L6w1pE0t00kOg1zaU+aoGLmFt
|
||||
LDGfNlEbzNV5nsq6wM40Vx0fxkPS+f5QCCsBwwECgYEAj496ZF3zbRrxjpZVlY2C
|
||||
IN6IOIq+Y0uni0lOcfbbEP/wBxkrOLhrLlH8lER6tF7bUPE2W3OfCy1wz538v0rs
|
||||
xGrePc6MO3h1T9+kyKSd5+LE9rPt+oMCjoODhdsbjjy0nuRnaCU4mpGl1/1ye8xK
|
||||
48uCIbRmu4vqvev2m6KEA/MCgYEArbwPrg1zN+9b3WYo13Bb5CvC7o7RYIUJgnoi
|
||||
SXfMc4gf5dhQdW+x45SUCV+lt5JEKEcbMz+V5I4PJX2CU/vci06W4lD9zsQ1dmF0
|
||||
8g/U6Ip3W+/l7UWMt3KuRnmkPDFxivvapqgh6pGOrsBmj0/kzUwVtun7NljyF2Ag
|
||||
IEw6WwECgYEAjwxB3UcKP/z33uB7UUJvvuOTbNK2ToG8pQR83czFq9diLhcqKNNG
|
||||
RVrvcJkIrs2PVZc4vEk3wdXw7oOSMZvD/fuVQzjTQo+SgEVIQiy8xGFpLguKXVei
|
||||
Jagn4NQIastL1x8dTYhFjOeAj2g9Cbb1mmqgLfoJcRowOSxJbj0Wkgw=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
@@ -35,7 +35,7 @@ class Result {
|
||||
|
||||
this.makeRestartButton();
|
||||
|
||||
if(sessionStorageManager.maestroAccountType == 0) { // experience account
|
||||
if(sessionStorageManager.maestroAccountType >= 100) { // experience account
|
||||
let recordBoard = new RecordBoard(RecordBoard.TYPE_SAMPLE);
|
||||
this.announceBox = new AnnounceBox(50, 648);
|
||||
this.announceBox.drawBox("체험 계정에서는 기록이 저장되지 않습니다.");
|
||||
@@ -89,7 +89,7 @@ class Result {
|
||||
}
|
||||
|
||||
uploadRecord() {
|
||||
if(sessionStorageManager.maestroAccountType == 0) { // experience account
|
||||
if(sessionStorageManager.maestroAccountType >= 100) { // experience account
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ class Start {
|
||||
// contents
|
||||
this.loadHowToPlay(sessionStorageManager.playingAppID);
|
||||
this.makeStartButton();
|
||||
if(sessionStorageManager.maestroAccountType == 0) { // experience account
|
||||
if(sessionStorageManager.maestroAccountType >= 100) { // experience account
|
||||
this.printSampleChart();
|
||||
this.announceBox = new AnnounceBox(50, 648);
|
||||
this.announceBox.drawBox("체험 계정에서는 기록이 저장되지 않습니다.");
|
||||
|
||||
@@ -24,15 +24,21 @@
|
||||
|
||||
(jsonData) => {
|
||||
let maestroID = jsonData["maestroID"];
|
||||
let maestroAccountType = jsonData["maestroAccountType"];
|
||||
let playerID = jsonData["playerID"];
|
||||
let playerAccountType = jsonData["playerAccountType"];
|
||||
let playerName = jsonData["playerName"];
|
||||
|
||||
console.log("maestroID : " + maestroID);
|
||||
console.log("maestroAccountType : " + maestroAccountType);
|
||||
console.log("playerID : " + playerID);
|
||||
console.log("playerAccountType : " + playerAccountType);
|
||||
console.log("playerName : " + playerName);
|
||||
|
||||
sessionStorage.setItem("maestroID", maestroID);
|
||||
sessionStorage.setItem("maestroAccountType", maestroAccountType);
|
||||
sessionStorage.setItem("playerID", playerID);
|
||||
sessionStorage.setItem("playerAccountType", playerAccountType);
|
||||
sessionStorage.setItem("playerName", playerName);
|
||||
|
||||
location.href = "./../client/menu_app.html";
|
||||
|
||||
Reference in New Issue
Block a user