1. Gamerametal
  2. KPDataSave

Commits

HexRx  committed 359f1b4

Add remove auth method

  • Participants
  • Parent commits 4f8ad76
  • Branches default

Comments (0)

Files changed (1)

File KPDataSave/AccountState.cs

View file
                 return null;
             return JsonConvert.DeserializeObject<AccountState>(value);
         }
+
+        public static void Remove(IPluginHost host)
+        {
+            _account = null;
+            host.CustomConfig.SetString(Key, "");
+        }
     }
 }