RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.content.preloads.PreloadRepository Class Reference

The preload repository. More...

Static Public Member Functions

static void declare ()
 Declares all the preloads into the list on startup.

Static Public Attributes

static final int CAPE = 1
 The indexes of all random preloads.
static final int GOD_BOOK = 6
static final int GOD_CAPE = 5
static final int HAT = 2
static final int MYSTIC_BOTTOM = 8
static final int MYSTIC_TOP = 7
static List< PreloadPRELOADS = new ArrayList<>()
 The list containing all the preloads.
static final int ROBE_BOTTOM = 4
static final int ROBE_TOP = 3

Detailed Description

The preload repository.

Author
Daniel.

Definition at line 13 of file PreloadRepository.java.

Member Function Documentation

◆ declare()

void com.runehive.content.preloads.PreloadRepository.declare ( )
static

Declares all the preloads into the list on startup.

Definition at line 30 of file PreloadRepository.java.

30 {
31 /* Mains */
32 PRELOADS.add(new MainMeleePreload());
33 PRELOADS.add(new MainRangePreload());
34 PRELOADS.add(new MainNHPreload());
35
36 /* Zerkers */
37 PRELOADS.add(new ZerkerMeleePreload());
38 PRELOADS.add(new ZerkerRangePreload());
39 PRELOADS.add(new ZerkerNHPreload());
40
41 /* Pures */
42 PRELOADS.add(new PureMeleePreload());
43 PRELOADS.add(new PureRangePreload());
44 PRELOADS.add(new PureNHPreload());
45
46 /* Initiates */
47 PRELOADS.add(new InitiateMeleePreload());
48 PRELOADS.add(new InitiateRangePreload());
49 PRELOADS.add(new InitiateNHPreload());
50
51 /* F2Ps */
52 PRELOADS.add(new F2PMeleePreload());
53 PRELOADS.add(new F2PRangePreload());
54 }
static List< Preload > PRELOADS
The list containing all the preloads.

References PRELOADS.

Referenced by com.runehive.RuneHive.processParallelStartupTasks().

Here is the caller graph for this function:

Member Data Documentation

◆ CAPE

◆ GOD_BOOK

◆ GOD_CAPE

◆ HAT

◆ MYSTIC_BOTTOM

final int com.runehive.content.preloads.PreloadRepository.MYSTIC_BOTTOM = 8
static

◆ MYSTIC_TOP

final int com.runehive.content.preloads.PreloadRepository.MYSTIC_TOP = 7
static

◆ PRELOADS

List<Preload> com.runehive.content.preloads.PreloadRepository.PRELOADS = new ArrayList<>()
static

The list containing all the preloads.

Definition at line 16 of file PreloadRepository.java.

Referenced by declare().

◆ ROBE_BOTTOM

final int com.runehive.content.preloads.PreloadRepository.ROBE_BOTTOM = 4
static

◆ ROBE_TOP

final int com.runehive.content.preloads.PreloadRepository.ROBE_TOP = 3
static

The documentation for this class was generated from the following file: