|
RuneHive-Game
|
Public Member Functions | |
| LoginExecutorService | getLoginExecutorService () |
| void | start () throws Exception |
Static Public Member Functions | |
| static DateTime | currentDateTime () |
| static RuneHive | getInstance () |
| static void | main (String[] args) |
| static DateTimeZone | timeZone () |
Static Public Attributes | |
| static final AtomicBoolean | serverStarted = new AtomicBoolean(false) |
| static final Stopwatch | UPTIME = Stopwatch.start() |
Private Member Functions | |
| void | onStart () |
| Called when the game engine is running and all the startup tasks have finished loading. | |
| void | processParallelStartupTasks () |
| Called after the sequential startup tasks, use this for faster startup. | |
| void | processSequentialStartupTasks () |
| RuneHive () | |
Private Attributes | |
| final LoginExecutorService | loginExecutorService |
Static Private Attributes | |
| static final GameEngine | gameService = new GameEngine() |
| static final RuneHive | INSTANCE = new RuneHive() |
| static final Logger | logger = LogManager.getLogger(RuneHive.class) |
| static final NetworkService | networkService = new NetworkService() |
| static final StartupService | startupService = new StartupService() |
Definition at line 55 of file RuneHive.java.
|
private |
Definition at line 71 of file RuneHive.java.
References loginExecutorService.
Referenced by getInstance().
|
static |
Definition at line 204 of file RuneHive.java.
References timeZone().
Referenced by com.runehive.game.world.cronjobs.impl.DoubleExperienceJob.execute().
|
static |
Definition at line 200 of file RuneHive.java.
References INSTANCE, and RuneHive().
Referenced by com.runehive.net.session.LoginSession.handleClientPacket().
| LoginExecutorService com.runehive.RuneHive.getLoginExecutorService | ( | ) |
Definition at line 212 of file RuneHive.java.
Referenced by com.runehive.net.session.LoginSession.handleClientPacket().
|
static |
Definition at line 185 of file RuneHive.java.
References INSTANCE, logger, and com.runehive.game.world.World.save().
|
private |
Called when the game engine is running and all the startup tasks have finished loading.
Definition at line 131 of file RuneHive.java.
References com.runehive.content.WellOfGoodwill.isActive(), logger, and com.runehive.game.world.World.schedule().
Referenced by start().
|
private |
Called after the sequential startup tasks, use this for faster startup.
Try not to use this method for tasks that rely on other tasks you'll run into issues.
Definition at line 108 of file RuneHive.java.
References com.runehive.content.itemaction.ItemActionRepository.declare(), com.runehive.content.preloads.PreloadRepository.declare(), com.runehive.content.triviabot.TriviaBot.declare(), com.runehive.content.mysterybox.MysteryBox.load(), com.runehive.content.skill.SkillRepository.load(), com.runehive.game.world.entity.mob.player.profile.ProfileRepository.load(), com.runehive.util.GameSaver.load(), com.runehive.content.tradingpost.TradingPost.loadAllListings(), com.runehive.content.clanchannel.ClanRepository.loadChannels(), com.runehive.content.tradingpost.TradingPost.loadItemHistory(), com.runehive.content.tradingpost.TradingPost.loadRecentItemHistory(), and startupService.
Referenced by start().
|
private |
Definition at line 75 of file RuneHive.java.
References com.runehive.fs.cache.FileSystem.CONFIG_ARCHIVE, com.runehive.fs.cache.FileSystem.create(), com.runehive.game.world.entity.mob.npc.definition.NpcDefinition.createParser(), com.runehive.game.world.items.ItemDefinition.createParser(), com.runehive.content.wintertodt.Wintertodt.init(), com.runehive.game.world.entity.combat.attack.listener.CombatListenerManager.load(), com.runehive.fs.cache.decoder.AnimationDefinitionDecoder.run(), com.runehive.fs.cache.decoder.MapDefinitionDecoder.run(), com.runehive.fs.cache.decoder.ObjectDefinitionDecoder.run(), com.runehive.fs.cache.decoder.RegionDecoder.run(), com.runehive.util.parser.GenericParser.run(), and com.runehive.fs.cache.decoder.CacheNpcDefinition.unpackConfig().
Referenced by start().
| void com.runehive.RuneHive.start | ( | ) | throws Exception |
Definition at line 147 of file RuneHive.java.
References com.runehive.Config.CLIENT_VERSION, com.runehive.Config.FORUM_INTEGRATION, gameService, com.runehive.game.service.WebsitePlayerCountService.getInstance(), com.runehive.game.world.WorldType.LIVE, com.runehive.content.lms.loadouts.LMSLoadoutManager.load(), com.runehive.game.plugin.PluginManager.load(), com.runehive.game.world.cronjobs.Jobs.load(), com.runehive.game.world.entity.mob.player.BannedPlayers.load(), com.runehive.game.world.entity.mob.player.IPBannedPlayers.load(), com.runehive.game.world.entity.mob.player.IPMutedPlayers.load(), logger, networkService, onStart(), com.runehive.Config.PARALLEL_GAME_ENGINE, processParallelStartupTasks(), processSequentialStartupTasks(), com.runehive.Config.SERVER_PORT, com.runehive.game.service.ForumService.start(), com.runehive.game.service.PostgreService.start(), dev.advo.fs.FileServer.start(), startupService, and com.runehive.Config.WORLD_TYPE.
|
static |
Definition at line 208 of file RuneHive.java.
Referenced by currentDateTime().
|
staticprivate |
Definition at line 64 of file RuneHive.java.
Referenced by start().
Definition at line 67 of file RuneHive.java.
Referenced by getInstance(), and main().
|
staticprivate |
Definition at line 57 of file RuneHive.java.
|
private |
Definition at line 69 of file RuneHive.java.
Referenced by RuneHive().
|
staticprivate |
Definition at line 65 of file RuneHive.java.
Referenced by start().
|
static |
Definition at line 59 of file RuneHive.java.
Referenced by com.runehive.net.session.LoginSession.evaluate(), and com.runehive.game.service.NetworkService.start().
|
staticprivate |
Definition at line 63 of file RuneHive.java.
Referenced by processParallelStartupTasks(), and start().
|
static |
Definition at line 60 of file RuneHive.java.
Referenced by com.runehive.util.Utility.getUptime(), and com.runehive.game.service.NetworkService.start().