1.4.0
Added Server Player Commands section.
This commit is contained in:
1 parent
25a83e7dc5
commit
293be5887a
128 files changed
+2182
-408
No files matched your search
+149
@@ -0,0 +1,149 @@
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user