2018-07-06 13:30:00 +00:00
|
|
|
package com.eu.habbo.habbohotel.modtool;
|
|
|
|
|
|
|
|
import java.sql.ResultSet;
|
|
|
|
import java.sql.SQLException;
|
|
|
|
|
2019-05-26 21:14:53 +03:00
|
|
|
public class ModToolPreset {
|
2018-07-06 13:30:00 +00:00
|
|
|
public final int id;
|
|
|
|
public final String name;
|
|
|
|
public final String message;
|
|
|
|
public final String reminder;
|
|
|
|
public final int banLength;
|
|
|
|
public final int muteLength;
|
|
|
|
|
2019-05-26 21:14:53 +03:00
|
|
|
public ModToolPreset(ResultSet set) throws SQLException {
|
2018-07-06 13:30:00 +00:00
|
|
|
this.id = set.getInt("id");
|
|
|
|
this.name = set.getString("name");
|
|
|
|
this.message = set.getString("message");
|
|
|
|
this.reminder = set.getString("reminder");
|
|
|
|
this.banLength = set.getInt("ban_for");
|
|
|
|
this.muteLength = set.getInt("mute_for");
|
|
|
|
}
|
|
|
|
}
|