java.lang.Object
net.botwithus.rs3.game.js5.types.configs.ConfigManager
ConfigManager is a class used to manage the loading and retrieval of configuration data from the RuneScape filesystem.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AchievementType
getAchievementType
(int id) Returns theAchievementType
associated with the given id.static @Nullable DatabaseType
getDatabaseType
(int rowId) Returns theDatabaseType
associated with the given row idstatic @Nullable EffectType
getEffectType
(int effectId) Gets theEffectType
associated with the given effect ID.static @Nullable EnumType
getEnumType
(int enumId) Deprecated.static Filesystem
getFS()
static @Nullable InventoryType
getInventoryType
(int invId) Returns theInventoryType
associated with the given inventory Id.static @Nullable ItemType
getItemType
(int itemId) Returns the ItemType associated with the given itemId.static @Nullable LocationType
getLocationType
(int locId) Returns theLocationType
associated with the given location ID.static @Nullable NpcType
getNpcType
(int npcId) Gets theNpcType
associated with the given npcId.static @Nullable ParamType
getParamType
(int paramId) Retrieves the ParamType associated with the given paramId.static @Nullable QuestType
getQuestType
(int questId) Returns theQuestType
associated with the given quest ID.static @Nullable SequenceType
getSequenceType
(int animId) Returns theSequenceType
associated with the given animation ID.static @Nullable StructType
getStructType
(int structId) Retrieves the StructType associated with the given structId.static @Nullable VarbitType
getVarbitType
(int varbitId) Gets theVarbitType
for the specified varbit id.
-
Field Details
-
GSON
public static final com.google.gson.Gson GSON
-
-
Method Details
-
getAchievementType
Returns theAchievementType
associated with the given id.- Parameters:
id
- the id of the AchievementType to retrieve- Returns:
- the
AchievementType
associated with the given id
-
getFS
-
getLocationType
Returns theLocationType
associated with the given location ID.- Parameters:
locId
- the location ID- Returns:
- the
LocationType
associated with the given location ID
-
getItemType
Returns the ItemType associated with the given itemId.- Parameters:
itemId
- the itemId to search for- Returns:
- the ItemType associated with the given itemId, or null if no ItemType is associated with the given itemId
-
getNpcType
Gets theNpcType
associated with the given npcId.- Parameters:
npcId
- The id of the npc to get the type of.- Returns:
- The
NpcType
associated with the given npcId.
-
getVarbitType
Gets theVarbitType
for the specified varbit id.- Parameters:
varbitId
- The varbit id.- Returns:
- The
VarbitType
for the specified varbit id.
-
getInventoryType
Returns theInventoryType
associated with the given inventory Id.- Parameters:
invId
- the inventory ID- Returns:
- the
InventoryType
associated with the given inventory Id
-
getStructType
Retrieves the StructType associated with the given structId.- Parameters:
structId
- The id of the StructType to retrieve.- Returns:
- The StructType associated with the given structId.
-
getParamType
Retrieves the ParamType associated with the given paramId.- Parameters:
paramId
- The id of the ParamType to retrieve.- Returns:
- The ParamType associated with the given paramId.
-
getEnumType
Deprecated.Returns the EnumType associated with the given enumId.- Parameters:
enumId
- the id of the EnumType to retrieve- Returns:
- the EnumType associated with the given enumId
-
getEffectType
Gets theEffectType
associated with the given effect ID.- Parameters:
effectId
- the ID of the effect- Returns:
- the
EffectType
associated with the given effect ID
-
getSequenceType
Returns theSequenceType
associated with the given animation ID.- Parameters:
animId
- the animation ID- Returns:
- the
SequenceType
associated with the given animation ID
-
getQuestType
Returns theQuestType
associated with the given quest ID.- Parameters:
questId
- the quest ID- Returns:
- the
QuestType
associated with the given quest ID
-
getDatabaseType
Returns theDatabaseType
associated with the given row id- Parameters:
rowId
- the rowId- Returns:
- the
DatabaseType
associated with the row id
-
getFilesystem
-