|
RuneHive-Game
|
Holds all the constants used by bot. More...
Static Public Member Functions | |
| static void | logLoot (Item item) |
Static Public Attributes | |
| static final Appearance | APPEARANCE = new Appearance(Gender.MALE, Utility.random(0, 8), Utility.random(10, 17), Utility.random(18, 25), Utility.random(26, 31), Utility.random(33, 34), Utility.random(36, 40), Utility.random(42, 43), 7, 8, 9, 5, 0) |
| The default bot appearance. | |
| static Map< Integer, MutableNumber > | BOOT_LOOT = new HashMap<>() |
| static final String[] | BOT_NAMES |
| List of all available bot names. | |
| static final String[] | FIGHT_END_MESSAGES |
| Array of all the possible fight end message. | |
| static final String[] | FIGHT_START_MESSAGES |
| Array of all the possible fight start message. | |
| static final String[] | GEAR_UP_MESSAGES |
| Array of all the possible fight start message. | |
| static final String[] | KILLED_MESSAGES |
| Array of all the possible fight start message. | |
Static Package Functions | |
| static String | nameGenerator () |
| Generates a random bot named based on the available names. | |
Static Package Attributes | |
| static final String[] | DEATH_MESSAGES |
| Array of all the possible death message. | |
| static final PlayerTitle | TITLE = PlayerTitle.create("[BOT]", 0xC74C1C) |
| The default bot title. | |
Static Private Member Functions | |
| static List< String > | getAvailableBotNames () |
| Generates a list of all available names. | |
Holds all the constants used by bot.
Definition at line 19 of file BotUtility.java.
|
staticprivate |
Generates a list of all available names.
Definition at line 104 of file BotUtility.java.
References BOT_NAMES, and com.runehive.game.world.World.getPlayers().
Referenced by nameGenerator().
|
static |
Definition at line 23 of file BotUtility.java.
References BOOT_LOOT, com.runehive.game.world.items.Item.getAmount(), com.runehive.game.world.items.Item.getId(), and com.runehive.util.MutableNumber.incrementAndGet().
Referenced by com.runehive.game.world.entity.mob.player.PlayerDeath.calculateDropItems().
|
staticpackage |
Generates a random bot named based on the available names.
Definition at line 99 of file BotUtility.java.
References getAvailableBotNames(), and com.runehive.util.Utility.randomElement().
Referenced by com.runehive.content.bot.PlayerBot.PlayerBot().
|
static |
The default bot appearance.
Definition at line 55 of file BotUtility.java.
Referenced by com.runehive.content.bot.PlayerBot.PlayerBot().
|
static |
Definition at line 21 of file BotUtility.java.
Referenced by com.runehive.util.GameSaver.load(), logLoot(), and com.runehive.util.GameSaver.toJson().
|
static |
List of all available bot names.
Definition at line 30 of file BotUtility.java.
Referenced by com.runehive.net.session.LoginSession.evaluate(), and getAvailableBotNames().
|
staticpackage |
Array of all the possible death message.
Definition at line 90 of file BotUtility.java.
Referenced by com.runehive.content.bot.PlayerBot.loopCombat().
|
static |
Array of all the possible fight end message.
Definition at line 72 of file BotUtility.java.
|
static |
Array of all the possible fight start message.
Definition at line 65 of file BotUtility.java.
Referenced by com.runehive.content.bot.objective.impl.CombatObjective.init().
|
static |
Array of all the possible fight start message.
Definition at line 58 of file BotUtility.java.
Referenced by com.runehive.content.bot.objective.impl.RestockObjective.finish().
|
static |
Array of all the possible fight start message.
Definition at line 79 of file BotUtility.java.
|
staticpackage |
The default bot title.
Definition at line 52 of file BotUtility.java.
Referenced by com.runehive.content.bot.PlayerBot.PlayerBot().