Add new messages to other endpoints

This commit is contained in:
2025-06-15 15:25:08 -07:00
parent ae63408675
commit 653f8b6f5a
7 changed files with 82 additions and 2 deletions

View File

@@ -66,6 +66,15 @@ public class AccountRegister : MonoBehaviour
string response = SensitiveInfo.Decrypt(request.downloadHandler.text, SensitiveInfo.SERVER_RECEIVE_TRANSFER_KEY);
switch (response)
{
case "-999":
AccountHandler.UpdateStatusText(registerPanelStatusText, "Server error while fetching data", Color.red);
break;
case "-998":
AccountHandler.UpdateStatusText(registerPanelStatusText, "Client version too outdated to access servers", Color.red);
break;
case "-997":
AccountHandler.UpdateStatusText(registerPanelStatusText, "Encryption/decryption issues", Color.red);
break;
case "1":
AccountHandler.instance.SwitchPanel(2);
break;