mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-29 13:04:59 +00:00
Add method to delete all cookies
Added a method to delete all cookies from the cookie store.
This commit is contained in:
parent
8ac8051f96
commit
8f40794d25
1 changed files with 1 additions and 0 deletions
|
|
@ -210,6 +210,7 @@ namespace MinecraftClient
|
|||
public void GetCookie(string key, out byte[]? data) => Cookies.TryGetValue(key, out data);
|
||||
public void SetCookie(string key, byte[] data) => Cookies[key] = data;
|
||||
public void DeleteCookie(string key) => Cookies.Remove(key, out var data);
|
||||
public void DeleteAllCookies() => Cookies?.Clear();
|
||||
public (Location location, string material, string typeLabel, string[] frontText, string[] backText, bool isWaxed)[] GetKnownSigns()
|
||||
{
|
||||
lock (signDataLock)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue