root
JVM
root
/
org.magiclib.bounty
/
MagicBountyLoader
Magic
Bounty
Loader
open
class
MagicBountyLoader
Loads MagicBountySpec from JSON file and stores them in BOUNTIES Map.
Author
Tartiflette
Members
Constructors
Magic
Bounty
Loader
Link copied to clipboard
constructor
(
)
Types
Gender
Link copied to clipboard
enum
Gender
Job
Type
Link copied to clipboard
enum
JobType
The type of bounty; defines criteria for successful completion.
Show
Distance
Link copied to clipboard
enum
ShowDistance
Show
Fleet
Link copied to clipboard
enum
ShowFleet
Functions
add
Bounty
Data
Link copied to clipboard
open
fun
addBountyData
(
id
:
String
,
data
:
MagicBountySpec
,
overwrite
:
Boolean
)
clear
Bounty
Data
Link copied to clipboard
open
fun
clearBountyData
(
)
delete
Bounty
Data
Link copied to clipboard
open
fun
deleteBountyData
(
id
:
String
)
get
Bounty
Data
Link copied to clipboard
open
fun
getBountyData
(
id
:
String
)
:
MagicBountySpec
load
Bounties
From
JSON
Link copied to clipboard
open
fun
loadBountiesFromJSON
(
appendOnly
:
Boolean
)
Properties
BOUNTIES
Link copied to clipboard
open
var
BOUNTIES
:
Map
<
String
,
MagicBountySpec
>
MagicBountySpec Map containing all the bounties loaded from JSON file, key is the bounty unique id.
BOUNTY_FLEET_TAG
Link copied to clipboard
open
var
BOUNTY_FLEET_TAG
:
String
JSONfailed
Link copied to clipboard
open
var
JSONfailed
:
Boolean