text
stringlengths
3
1.18M
package test2.com.code; import org.eclipse.swt.graphics.Point; import org.eclipse.ui.application.ActionBarAdvisor; import org.eclipse.ui.application.IActionBarConfigurer; import org.eclipse.ui.application.IWorkbenchWindowConfigurer; import org.eclipse.ui.application.WorkbenchWindowAdvisor; public class ApplicationWor...
package test2.com.code; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle */ public class Activator extends AbstractUIPlugin { // The plug-in ID public st...
package jadro; /** * * @author Garb */ public interface iStit { }
package jadro; /** * * @author Garb */ public interface iZbran { void zmačkni_spoušt(); void setGun(); }
package jadro; /** * * @author Garb */ public interface iSkill { void pouzij(); }
package jadro; /** * * @author Garb */ public class Clovek implements iZbran, iSkill, iLife { public int getHP() { return 0; } public int setHP() { return 0; } public int getAP() { return 0; } public int setAP() { return 0; } ...
package jadro; /** * * @author Garb */ public interface iLife { boolean isLive(); void umri(); void heal(int počet_zivotu_k_přičteni); }
package mapa3.pkg0; import java.awt.Point; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author nb4 */ public class Mapa15 { /** * @param args the command line arguments */ public static void main(String[] args) throws InterruptedException ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package mapa3.pkg0; import herni_plocha.gener_mapa; import java.awt.Point; import java.util.ArrayList; import java.util.Random; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author nb4 */...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package mapa3.pkg0; import bn.ProcentualniRandom; import java.awt.Point; import java.util.Random; import test.Test; /** * * @author nb4 */ public class element { public static final int KOPEC = 1; public st...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package mapa3.pkg0; /** * * @author nb4 */ public class vyjímky extends Exception { public vyjímky(String message) { super(message); } }
package herni_plocha; import java.awt.Point; import java.util.Random; /** * * @author Musilovi */ public class Herni_plocha { /** * @param args the command line arguments */ public static void main(String[] args) { new testovaci_okno(new gener_mapa() { @Override ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package herni_plocha; //import com.esotericsoftware.kryo.Kryo; //import com.esotericsoftware.kryo.KryoSerializable; //import com.esotericsoftware.kryo.io.Input; //import com.esotericsoftware.kryo.io.Output; import java....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package herni_plocha; import java.util.Random; /** * * @author Musilovi */ public class trans_mapa { private int střed = 10; private int horni_hodnota = 10; gener_mapa stara_mapa; Ra...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package herni_plocha; /** * * @author Musilovi */ public class testovaci_okno extends javax.swing.JFrame { /** * Creates new form testovaci_okno */ public testovaci_okno(gener_mapa mapa) { ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package herni_plocha; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JOptionPane; /** * * @author Musilovi */ public class herni_pole exten...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package herni_plocha; import java.awt.Point; /** * * @author Musilovi */ public interface gener_mapa { int getX(); int getY(); int getNum(int x, int y); int getNum(Point souř); }
package net_comunication; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryonet.EndPoint; // This class is a convenient place to keep things common to both the client and server. public class Network { static public final int port = 54555; // This registers objects that are going to...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import java.awt.Canvas; import java.util.ArrayList; /** * * @author nb4 */ class aktualni_hra { private Poradi_hracu pořadi; private ArrayList<iPlayer> hrači; private Canvas he...
package net_comunication; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.IOException; import java.util.ArrayList; import javax.swing.JFrame; import javax.swing.JLabel; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; imp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; /** * * @author nb4 */ public interface respones { boolean isJoin(); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import java.util.ArrayList; /** * * @author nb4 */ class Poradi_hracu { ArrayList<Integer> pořadí; private int ukazatel = 0; public Poradi_hracu() { } public v...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import javax.swing.JOptionPane; /** * * @author nb4 */ public class Login_request implements request, respones { String ID_hrače; String heslo; boolean chce_se_připojit_pod_zah...
package net_comunication; public class Character { public String name; public String otherStuff; public int id, x, y; }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import jadro.Clovek; import java.awt.Image; /** * * @author Pavel */ public interface iPlayer { void nohoru(); void dolu(); void doleva(); ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.KryoSerializable; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; /** * * @auth...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.KryoSerializable; import com.esotericsoftware.kryo.Serializer; import com.esotericsoftware.kryo.io.Input; import com.esot...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.KryoSerializable; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; /** ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import com.esotericsoftware.kryonet.Server; import com.esotericsoftware.minlog.Log; import herni_pl...
package net_comunication; import java.io.IOException; import java.util.HashMap; import javax.swing.JOptionPane; import com.esotericsoftware.kryonet.Client; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import com.esotericsoftware.kryonet.Listener.ThreadedLi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import java.awt.Canvas; /** * * @author nb4 */ public class Akce extends Canvas { public static final int UTOK = 0; public static final int POHYB = 1; public static final int SP...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryonet.Client; import java.io.IOException; import java.net.InetAddress; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOptionP...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; /** * * @author nb4 */ class hra { }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryonet.Client; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import com.esotericsoftware.minlog.Log; import java.awt...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * server_okno.java * * Created on 18.11.2012, 22:32:23 */ package net_comunication; import java.awt.event.ActionListener; import javax.swing.JFrame; /** * * @author nb4 */ public class server_okno extends ja...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; /** * * @author nb4 */ public class new_game { }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.KryoSerializable; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; /** * * @auth...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import java.net.InetAddress; /** * * @author nb4 */ public class Discaver { String nazev_serveru; int[] sloty; InetAddress ip; public Discaver() { } ...
package net_comunication; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.HashSet; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware....
package net_comunication; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Container; import java.awt.EventQueue; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.GridLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; /** * * @author nb4 */ public class spell { public spell() { } }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryonet.EndPoint; import herni_plocha.bunka; import java.awt.Color; import java.net.Inet4Address; /** * * @author nb4 */ p...
package net_comunication; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryonet.EndPoint; // This class is a convenient place to keep things common to both the client and server. public class Networkk { static public final int port = 54555; // This registers objects that are going t...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * cliFrame.java * * Created on 20.11.2012, 17:04:22 */ package net_comunication; import java.awt.event.ActionListener; /** * * @author nb4 */ public class cliFrame extends javax.swing.JFrame { /** Creat...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.KryoSerializable; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; import herni_plo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; /** * * @author nb4 */ public class utok extends Akce { private int id; private int DMG; public utok() { super("asd",1); } public utok(int id_...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import com.esotericsoftware.kryonet.Server; import com.esotericsoftware.minlog.Log; import java.io....
package net_comunication; public class Character_1 { public String name; public String otherStuff; public int id, x, y; }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net_comunication; /** * * @author nb4 */ public interface request { void připojeno(); String getID(); String getPASS(); boolean chce_se_připojit_pod_zaheslovany(); }
package parka; /** * * @author nb4 */ public class Parka { /** * @param args the command line arguments */ public static void main(String[] args) { new login(); } }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parka; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.util.ArrayList; import java.util.List; import j...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parka; import java.awt.Dimension; import java.awt.Point; import java.awt.Toolkit; import java.awt.Window; import net_comunication.GameClient; /** * * @author nb4 */ public class conf { public static Game...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parka; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.util.ArrayList; import javax.swing.JFrame; impo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parka; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import herni_plocha.herni_pole; import net_comunication.GameClient; import net_comunication.NewGame; import ne...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parka; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame; import net_comunication.GameClient; import pkg2d_guii.info_lišta; import pkg2...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parka; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Action; import javax.swing.JFrame; import net_comunication.GameClient; import pkg2d_guii....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package parka; import com.esotericsoftware.kryonet.Connection; import com.esotericsoftware.kryonet.Listener; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pkg2d_guii; import java.awt.Canvas; /** * * @author nb4 */ public interface I_Hra { Canvas get_pole(); slot[] get_sloty(); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * nastaveni_okno.java * * Created on 11.11.2012, 22:18:57 */ package pkg2d_guii; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; /** * * @author nb4 */ public class nastaveni_okno ext...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pkg2d_guii; import java.awt.Canvas; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.IOException; import java.net.URL; import javax.imag...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * lan_okno.java * * Created on 11.11.2012, 22:34:14 */ package pkg2d_guii; import java.awt.event.ActionListener; import java.net.InetAddress; import java.util.ArrayList; import javax.swing.DefaultListModel; /**...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * info_lišta.java * * Created on 15.11.2012, 22:05:24 */ package pkg2d_guii; /** * * @author nb4 */ public class info_lišta extends javax.swing.JPanel { String version = "verze: "; /** Creates new for...
package pkg2d_guii; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; /** * * @author nb4 */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { new login_okno(new ActionListener() { @Overrid...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * herni_okno.java * * Created on 9.11.2012, 13:45:52 */ package pkg2d_guii; import java.awt.Canvas; import java.awt.Component; import java.awt.Graphics; import javax.swing.JComponent; /** * * @author nb4 * ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * character_okno.java * * Created on 11.11.2012, 22:34:27 */ package pkg2d_guii; /** * * @author nb4 */ public class character_okno extends javax.swing.JFrame { /** Creates new form character_okno */ ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * menu_okno.java * * Created on 9.11.2012, 21:28:08 */ package pkg2d_guii; import java.awt.Canvas; import java.awt.Color; import java.awt.Desktop.Action; import java.awt.Graphics; import java.awt.Image; import j...
package pkg2d_guii; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.table.*; /** * @version 1.0 11/09/98 */ public class ButtonEditor extends DefaultCellEditor { protected JButton button; private String label; private boolean isPushed; public ButtonEditor(JCheckB...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pkg2d_guii.Interfejsy; /** * * @author nb4 */ public interface I_slot { String get_type(); }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pkg2d_guii.Interfejsy; import com.esotericsoftware.kryonet.Client; import java.awt.Canvas; /** * * @author nb4 */ public interface I_Hra { Canvas get_pole(); I_slot[] get_sloty(); void setClient(...
package pkg2d_guii; import java.awt.*; import javax.swing.*; import javax.swing.table.*; /** * @version 1.0 11/09/98 */ public class ButtonRenderer extends JButton implements TableCellRenderer { public ButtonRenderer() { setOpaque(true); } @Override public Component getTableCellRendererComponent...
package pkg2d_guii; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Action; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextFi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * about_okno.java * * Created on 11.11.2012, 22:33:59 */ package pkg2d_guii; /** * * @author nb4 */ public class about_okno extends javax.swing.JFrame { /** Creates new form about_okno */ public abou...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pkg2d_guii; /** * * @author nb4 */ public class tablebutton { }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package pkg2d_guii; import java.awt.event.ActionListener; import javax.swing.DefaultListModel; import javax.swing.JOptionPane; /** * * @author Vadekvan */ public class predehra_okno extends javax.swing.JFrame { ...
package nahoda; import java.util.Random; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author nb4 */ public class Nahoda { /** * @param args the command line arguments */ public static void main(String[] args) { ProcentualniRandom obj = new ProcentualniRan...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package nahoda; import java.util.Random; /** * * @author nb4 */ public class ProcentualniRandom { private Random rn; public ProcentualniRandom(Random rn) { this.rn = rn; } /** *...
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Settings; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.wrappers.Component; /** * Attack tab related operations. */ public class Attack { public static final int SETTING_SPECIAL_E...
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Environment; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Mouse; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.wrappers.Component; import org.rsbuddy.widgets.Bank; import java.awt.*; /** * Option related ...
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.wrappers.Component; import org.rsbuddy.wrappers.ChannelUser; /** * Clan chat related operations. Does not yet handle the lobby. * * @author Aion */ public class ClanCh...
package org.rsbuddy.tabs; import java.awt.Point; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Mouse; import com.rsbuddy.script.methods.Settings; import com.rsbuddy.script.methods.Skills; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.task.Task; import com.r...
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Settings; import com.rsbuddy.script.methods.Skills; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.task.Task; import com.rsbuddy.script.wrappers.Component; import java.util.LinkedList; i...
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Keyboard; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.task.Task; import com.rsbuddy.script.wrappers.Component; import com.rsbuddy.script.wrappers.Widget; import org.rsbuddy.widgets.Lobby; import...
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.wrappers.Component; /** * Quest tab related operations. * * @author Paradigm */ public class Quest { public enum Progress { NOT_STARTED, IN_PROGRESS, COMPL...
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Npcs; import com.rsbuddy.script.methods.Players; import com.rsbuddy.script.methods.Settings; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.task.Task; import com.rsbuddy.script.wrappers.Component; import com.rsbuddy.script.wrappe...
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Players; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.task.Task; import com.rsbuddy.script.wrappers.Component; import com.rsbuddy.script.wrappers.Item; import com.rsbuddy.script.wrappers....
package org.rsbuddy.tabs; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Menu; import com.rsbuddy.script.methods.Mouse; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.task.Task; import com.rsbuddy.script.util.Filter; import com.rsbuddy.script.util.Random; impor...
package org.rsbuddy.widgets; import com.rsbuddy.script.methods.Keyboard; import com.rsbuddy.script.methods.Mouse; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.task.Task; import com.rsbuddy.script.util.Random; import com.rsbuddy.script.util.Timer; import com.rsbuddy.script.wrappers.Compo...
package org.rsbuddy.widgets; import com.rsbuddy.script.methods.Calculations; import com.rsbuddy.script.methods.Game; import com.rsbuddy.script.methods.Keyboard; import com.rsbuddy.script.methods.Menu; import com.rsbuddy.script.methods.Mouse; import com.rsbuddy.script.methods.Objects; import com.rsbuddy.script....
package org.rsbuddy.widgets; import com.rsbuddy.script.methods.*; import com.rsbuddy.script.task.Task; import com.rsbuddy.script.util.Random; import com.rsbuddy.script.util.Timer; import com.rsbuddy.script.wrappers.Component; import com.rsbuddy.script.wrappers.Item; import com.rsbuddy.script.wrappers.Widget; ...
package org.rsbuddy.widgets; import com.rsbuddy.script.methods.Widgets; import com.rsbuddy.script.task.Task; import com.rsbuddy.script.util.Random; import com.rsbuddy.script.wrappers.Component; import com.rsbuddy.script.wrappers.Item; import com.rsbuddy.script.wrappers.Widget; import org.rsbuddy.tabs.Inventory...
package org.rsbuddy.widgets; import com.rsbuddy.script.methods.Environment; import com.rsbuddy.script.methods.Keyboard; import com.rsbuddy.script.methods.Menu; import com.rsbuddy.script.methods.Mouse; import com.rsbuddy.script.methods.Npcs; import com.rsbuddy.script.methods.Players; import com.rsbuddy.script.m...
package org.rsbuddy.utils; import com.rsbuddy.script.methods.Skills; import com.rsbuddy.script.util.Timer; /** * This class tracks each skill's gains and * calculates the hourly experience of a skill as well as the time to level up. * * @author Aion */ public final class SkillData { public static enum Rate { ...
package org.rsbuddy.wrappers; /** * @author Aion */ public class Message { private final String sender; private final String message; public Message(String sender, String message) { this.sender = sender; this.message = message; } /** * Gets the message. * * @return the message */ public String g...
package org.rsbuddy.wrappers; /** * @author Aion */ public interface Channel { /** * Gets the name of this channel. * * @return the name of this channel. */ public String getName(); /** * Gets the name of this channel's owner * * @return the name of this channel's owner */ pu...
package org.rsbuddy.wrappers; /** * @author Aion */ public interface User { /** * Gets the name of this user. * * @return the name of this user */ public String getName(); /** * Gets the world number that this user is on. * * @return the world number or -1 if unavailable */ p...
package org.rsbuddy.wrappers; import com.rsbuddy.script.wrappers.Component; /** * Represents a user on a channel. * * @author Aion */ public class ChannelUser implements User { /** * An enum representing each chat rank. */ public enum ChatRank { RECRUIT(6226), CORPORAL(6225), SERGEANT(6224...
package org.rsbuddy.net; import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; import java.util.Scanner; import java.util.regex.Pattern; /** * Obtains information on tradeable items from the online Grand Exchange database. * * @author Aion */ public final class GeIt...
package org.rsbuddy.net; import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; import java.util.LinkedList; import java.util.List; import java.util.Scanner; import java.util.regex.Pattern; /** * Obtains information on the RuneScape world servers from the unsigned world ...
package org.rsbuddy.net; import com.rsbuddy.script.methods.Skills; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; /** * Fetches a player's stats from the RuneScape Highscores database. * * @author Aion */ public final class Hiscore ...
/** * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * This library is distributed in the hope that ...