mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2025-06-28 17:39:42 -04:00
Import from Github
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
namespace Minecraft_Realms_Emulator.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class RequireMinecraftCookieAttribute : Attribute
|
||||
{
|
||||
public RequireMinecraftCookieAttribute()
|
||||
{
|
||||
}
|
||||
|
||||
public bool HasMinecraftCookie(string cookie)
|
||||
{
|
||||
return cookie.Contains("sid") && cookie.Contains("user") && cookie.Contains("version");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user