private void Respond(DiscordRpc.Reply reply) { string userId = RespondID.Text; Log(new string[] { "[Method] Respond", "User ID: " + userId, "Reply: " + reply.ToString() }); DiscordRpc.Respond(userId, reply); }
public void Respond(string userId, DiscordRpc.Reply reply) { try { if (isInitialized) { DiscordRpc.Respond(userId, reply); } } catch (Exception ex) { Trace.TraceError("Error responding to discord-RPC request: {0}", ex); } }
private void CloseWindow(DiscordRpc.Reply reply) { DiscordRPController.Main.RespondJoinRequest(Request.userId, reply); Destroy(this); }
public static extern void Respond(string userId, DiscordRpc.Reply reply);
private static extern void ExternRespond(string userId, DiscordRpc.Reply reply);
public void Respond(string userId, DiscordRpc.Reply reply) { ExternRespond(userId, reply); }
public static extern void Respond(string DJACMLGPOJB, DiscordRpc.Reply GPDFCKMMIDI);
public void RespondJoinRequest(string userID, DiscordRpc.Reply reply) { Log.Info($"[Discord] Respond JoinRequest: {userID} responded with {reply:g}"); ShowingWindow = false; DiscordRpc.Respond(userID, reply); }
private void CloseWindow(DiscordRpc.Reply reply) { Destroy(this); }