CloudyAPI DLL Overview and Functions
CloudyAPI DLL Overview and Functions
0, Culture=neutral,
PublicKeyToken=null
// C:\Users\new\Desktop\New folder\LuminosityApis\bin\x64\Debug\[Link]
// Decompiled with [Link] 8.1.1.7464
#endregion
using System;
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using DiscordRPC;
using [Link];
using [Link];
using [Link];
namespace LuminosityAPI
{
public static class LuminosityFunctions
{
public static class CoreAPI
{
public static class CoreSystem
{
public static class AutomaticallySetupFileSCore
{
public static class AutomaticallyClientInfo
{
public static class AutoIssueFalse
{
public static class FixException
{
public static class LuminosityFUNC
{
public static class External
{
public struct ClientInfo
{
public string version;
public string name;
public int id;
}
[DllImport("bin\\[Link]",
CallingConvention = [Link])]
private static extern void Initialize();
[DllImport("bin\\[Link]",
CallingConvention = [Link], CharSet = [Link])]
private static extern void
ExecuteAsync(byte[] scriptSource, string[] clientUsers, int numUsers);
[DllImport("bin\\[Link]",
CallingConvention = [Link])]
private static extern IntPtr GetClients();
static External()
{
time12 = new
[Link]();
Isua = false;
isRegistred = false;
i = "Axel"; // Changed name to Axel
AutoSetup();
}
[Link](address, text3);
}
}
catch (Exception ex)
{
[Link]("Failed to
Download " + text2 + ": " + [Link], "LuminosityApi");
}
}
}
}
}
[Link](targetPath);
}
}
[Link](directoryName);
}
[Link]([Link],
script);
}
catch (Exception) { }
}
[Link](baseDirectory);
}
[Link](address, text2);
}
}
catch (Exception ex)
{
[Link]("An error
occurred while downloading required files. ERR: " + [Link]);
}
}
}
}
static misc()
{
editorUri =
"[Link]
client = new HttpClient();
AutoSetup();
[Link]("Authorization", "v1USERFREE");
}
[Link][[Link]] = "application/json";
string text =
[Link](address, "POST", data);
JObject json =
[Link](text);
if (json["data"] != null &&
json["data"].HasValues)
{
return json["data"][0]
["id"]?.ToString();
}
}
}
catch (Exception ex)
{
[Link]("Error getting user
ID for " + username + ": " + [Link], "LuminosityApi");
}
return null;
}
string address =
"[Link] +
userIdFromUsername + "&size=420x420&format=png";
try
{
using (WebClient webClient = new
WebClient())
{
string text =
[Link](address);
JObject json =
[Link](text);
if (json["data"] != null &&
json["data"].HasValues)
{
string uriString =
json["data"][0]["imageUrl"]?.ToString();
return new BitmapImage(new
Uri(uriString));
}
}
}
catch (Exception ex)
{
[Link]("Error getting
avatar for " + username + ": " + [Link], "LuminosityApi");
}
return null;
}
[Obsolete]
public static async Task<string>
GetDiscordUsername(string appId)
{
TaskCompletionSource<string> tcs = new
TaskCompletionSource<string>();
clientas = new DiscordRpcClient(appId);
[Link] += (sender, e) =>
{
string result =
$"{[Link]}#{[Link]}";
[Link](result);
};
[Link]();
[Link](new RichPresence
{
Details = "Username Validation...",
State = "Please wait",
Timestamps = [Link]
});
return await [Link];
}
string fileName =
processesByName[0].[Link];
string name = new
DirectoryInfo([Link](fileName)).Name;
if (name !=
[Link])
{
if (![Link])
{
return true;
}
[Link]("LuminosityApi is
Outdated. Please Update The Newest Version!", "LuminosityApi");
return false;
}
return true;
}
try
{
string text =
[Link](path);
JObject json = [Link](text);
if ([Link]("Username"))
{
return
json["Username"]?.ToString();
}
}
catch (Exception ex)
{
[Link]("Error getting
username " + [Link], "LuminosityApi");
}
return null;
}
[Link](address, text3);
}
}
catch (Exception ex)
{
[Link]("Failed to
Download " + text2 + ": " + [Link], "LuminosityApi");
}
}
}
}
Match match2 =
[Link](input);
if ([Link])
{
text =
[Link][1].Value;
}
}
if (!
[Link](text))
{
return text;
}
}
}
return null;
}
catch (Exception ex)
{
return "Error: " + [Link];
}
}