public class ReportEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReportEvent.EventIcon |
static class |
ReportEvent.EventType |
Constructor and Description |
---|
ReportEvent(long date,
ReportEvent.EventType type,
String title,
String description,
ReportEvent.EventIcon icon,
String iconAttribute) |
ReportEvent(ReportEvent.EventType type,
String title,
String description,
ReportEvent.EventIcon icon,
String iconAttribute) |
ReportEvent(String title,
String description,
ReportEvent.EventIcon icon,
String iconAttribute) |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonObject |
toJSON() |
static ReportEvent |
withIcon(ReportEvent.EventType type,
String title,
String iconID) |
static ReportEvent |
withIcon(ReportEvent.EventType type,
String title,
String description,
String iconID) |
static ReportEvent |
withIcon(String title,
String iconID) |
static ReportEvent |
withIcon(String title,
String description,
String iconID) |
static ReportEvent |
withPlayer(ReportEvent.EventType type,
String title,
org.bukkit.OfflinePlayer player) |
static ReportEvent |
withPlayer(ReportEvent.EventType type,
String title,
String description,
org.bukkit.OfflinePlayer player) |
static ReportEvent |
withPlayer(String title,
org.bukkit.OfflinePlayer player) |
static ReportEvent |
withPlayer(String title,
String description,
org.bukkit.OfflinePlayer player) |
static ReportEvent |
withURL(ReportEvent.EventType type,
String title,
String iconURL) |
static ReportEvent |
withURL(ReportEvent.EventType type,
String title,
String description,
String iconURL) |
static ReportEvent |
withURL(String title,
String iconURL) |
static ReportEvent |
withURL(String title,
String description,
String iconURL) |
public ReportEvent(String title, String description, ReportEvent.EventIcon icon, String iconAttribute)
public ReportEvent(ReportEvent.EventType type, String title, String description, ReportEvent.EventIcon icon, String iconAttribute)
public ReportEvent(long date, ReportEvent.EventType type, String title, String description, ReportEvent.EventIcon icon, String iconAttribute)
public static ReportEvent withPlayer(ReportEvent.EventType type, String title, String description, org.bukkit.OfflinePlayer player)
public static ReportEvent withPlayer(ReportEvent.EventType type, String title, org.bukkit.OfflinePlayer player)
public static ReportEvent withPlayer(String title, String description, org.bukkit.OfflinePlayer player)
public static ReportEvent withPlayer(String title, org.bukkit.OfflinePlayer player)
public static ReportEvent withIcon(ReportEvent.EventType type, String title, String description, String iconID)
public static ReportEvent withIcon(ReportEvent.EventType type, String title, String iconID)
public static ReportEvent withIcon(String title, String description, String iconID)
public static ReportEvent withIcon(String title, String iconID)
public static ReportEvent withURL(ReportEvent.EventType type, String title, String description, String iconURL)
public static ReportEvent withURL(ReportEvent.EventType type, String title, String iconURL)
public static ReportEvent withURL(String title, String description, String iconURL)
public static ReportEvent withURL(String title, String iconURL)
public com.google.gson.JsonObject toJSON()
Copyright © 2021. All rights reserved.