Skip to content

Commit

Permalink
Add Final Fantasy XIV faker (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
panilya committed Apr 21, 2023
1 parent 6067879 commit 3d4c572
Show file tree
Hide file tree
Showing 5 changed files with 815 additions and 0 deletions.
@@ -0,0 +1,37 @@
package net.datafaker.providers.videogame;

import net.datafaker.providers.base.AbstractProvider;

/**
* Final Fantasy XIV is an MMORPG and features a persistent world in which players can interact with each other and the environment.
* Players create and customize their characters for use in the game, including name, race, gender, facial features, and starting class.
*
* @since 2.0.0
*/
public class FinalFantasyXIV extends AbstractProvider<VideoGameProviders> {

protected FinalFantasyXIV(VideoGameProviders faker) {
super(faker);
}

public String character() {
return resolve("final_fantasy_xiv.characters");
}

public String job() {
return resolve("final_fantasy_xiv.jobs");
}

public String race() {
return resolve("final_fantasy_xiv.races");
}

public String dataCenter() {
return resolve("final_fantasy_xiv.data_centers");
}

public String zone() {
return resolve("final_fantasy_xiv.zones");
}

}
Expand Up @@ -35,6 +35,10 @@ default Fallout fallout() {
return getProvider(Fallout.class, Fallout::new);
}

default FinalFantasyXIV finalFantasyXIV() {
return getProvider(FinalFantasyXIV.class, FinalFantasyXIV::new);
}

default HalfLife halfLife() {
return getProvider(HalfLife.class, HalfLife::new);
}
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/datafaker/service/files/EnFile.java
Expand Up @@ -110,6 +110,7 @@ public String getPath() {
"fallout.yml",
"famous_last_words.yml",
"file.yml",
"final_fantasy_xiv.yml",
"final_space.yml",
"finance.yml",
"food.yml",
Expand Down

0 comments on commit 3d4c572

Please sign in to comment.