149 lines
3.0 KiB
Java
149 lines
3.0 KiB
Java
package com.rsscripting.rswarehouse.session.admin;
|
|
|
|
public class ServerCommandCreationSession {
|
|
|
|
private String pendingServerCommandName;
|
|
|
|
private String pendingServerCommandDisplayName;
|
|
|
|
private final String[] pendingServerCommandLore =
|
|
new String[5];
|
|
|
|
private int pendingServerCommandLoreSlot = -1;
|
|
|
|
private long pendingServerCommandLoreExpiration;
|
|
|
|
private String pendingServerCommandMaterial;
|
|
|
|
private int pendingServerCommandMaterialPickerPage = 0;
|
|
|
|
|
|
public String getPendingServerCommandName() {
|
|
|
|
return pendingServerCommandName;
|
|
|
|
}
|
|
|
|
public void setPendingServerCommandName(
|
|
String pendingServerCommandName
|
|
) {
|
|
|
|
this.pendingServerCommandName =
|
|
pendingServerCommandName;
|
|
|
|
}
|
|
|
|
|
|
public String getPendingServerCommandDisplayName() {
|
|
|
|
return pendingServerCommandDisplayName;
|
|
|
|
}
|
|
|
|
public void setPendingServerCommandDisplayName(
|
|
String pendingServerCommandDisplayName
|
|
) {
|
|
|
|
this.pendingServerCommandDisplayName =
|
|
pendingServerCommandDisplayName;
|
|
|
|
}
|
|
|
|
|
|
public String getPendingServerCommandLore(
|
|
int index
|
|
) {
|
|
|
|
return pendingServerCommandLore[index];
|
|
|
|
}
|
|
|
|
public void setPendingServerCommandLore(
|
|
int index,
|
|
String value
|
|
) {
|
|
|
|
pendingServerCommandLore[index] =
|
|
value;
|
|
|
|
}
|
|
|
|
public void clearPendingServerCommandLore() {
|
|
|
|
for (
|
|
int i = 0;
|
|
i < pendingServerCommandLore.length;
|
|
i++
|
|
) {
|
|
|
|
pendingServerCommandLore[i] =
|
|
null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
public int getPendingServerCommandLoreSlot() {
|
|
|
|
return pendingServerCommandLoreSlot;
|
|
|
|
}
|
|
|
|
public void setPendingServerCommandLoreSlot(
|
|
int pendingServerCommandLoreSlot
|
|
) {
|
|
|
|
this.pendingServerCommandLoreSlot =
|
|
pendingServerCommandLoreSlot;
|
|
|
|
}
|
|
|
|
|
|
public long getPendingServerCommandLoreExpiration() {
|
|
|
|
return pendingServerCommandLoreExpiration;
|
|
|
|
}
|
|
|
|
public void setPendingServerCommandLoreExpiration(
|
|
long pendingServerCommandLoreExpiration
|
|
) {
|
|
|
|
this.pendingServerCommandLoreExpiration =
|
|
pendingServerCommandLoreExpiration;
|
|
|
|
}
|
|
|
|
|
|
public String getPendingServerCommandMaterial() {
|
|
|
|
return pendingServerCommandMaterial;
|
|
|
|
}
|
|
|
|
public void setPendingServerCommandMaterial(
|
|
String pendingServerCommandMaterial
|
|
) {
|
|
|
|
this.pendingServerCommandMaterial =
|
|
pendingServerCommandMaterial;
|
|
|
|
}
|
|
|
|
public int getPendingServerCommandMaterialPickerPage() {
|
|
|
|
return pendingServerCommandMaterialPickerPage;
|
|
|
|
}
|
|
|
|
public void setPendingServerCommandMaterialPickerPage(
|
|
int pendingServerCommandMaterialPickerPage
|
|
) {
|
|
|
|
this.pendingServerCommandMaterialPickerPage =
|
|
pendingServerCommandMaterialPickerPage;
|
|
|
|
}
|
|
|
|
} |