public class ResultSetTardisPowered
extends java.lang.Object
Control types: 0 = handbrake 1 = random button 2 = x-repeater 3 = z-repeater 4 = multiplier-repeater 5 = environment-repeater 6 = artron button
Constructor and Description |
---|
ResultSetTardisPowered(TARDIS plugin)
Creates a class instance that can be used to retrieve an SQL ResultSet from the vaults table.
|
Modifier and Type | Method and Description |
---|---|
boolean |
fromBoth(int id,
java.lang.String uuid)
Attempts to see whether the supplied TARDIS id is powered on.
|
boolean |
fromID(int id)
Attempts to see whether the supplied TARDIS id is powered on.
|
boolean |
fromUUID(java.lang.String uuid)
Attempts to see whether the supplied TARDIS id is powered on.
|
boolean |
isPowered() |
public ResultSetTardisPowered(TARDIS plugin)
plugin
- an instance of the main class.public boolean fromUUID(java.lang.String uuid)
uuid
- the Time Lord uuid to checkpublic boolean fromID(int id)
id
- the Tardis ID to checkpublic boolean fromBoth(int id, java.lang.String uuid)
id
- the Tardis ID to checkuuid
- the Time Lord uuid to checkpublic boolean isPowered()