Explorar o código

Add more special events results

DocSystem hai 1 ano
pai
achega
2a7aad5dd9
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      api/calypso/cards/intercode.c

+ 7 - 1
api/calypso/cards/intercode.c

@@ -620,7 +620,13 @@ const char* get_intercode_string_event_result(int result) {
     case 0xA:
         return "Invalidation impossible";
     case 0x30:
-        return "Double validation";
+        return "Double validation (Entry)";
+    case 0x31:
+        return "Invalid zone";
+    case 0x32:
+        return "Contract expired";
+    case 0x33:
+        return "Double validation (Exit)";
     default: {
         char* result_str = malloc(6 * sizeof(char));
         if(!result_str) {