Better naming from raidboss status getter and setter.

This commit is contained in:
MobiusDevelopment
2022-07-12 09:15:47 +00:00
parent 1f164b009c
commit 38366a9017
440 changed files with 1992 additions and 1992 deletions

View File

@ -505,11 +505,11 @@ public class DBSpawnManager
}
/**
* Gets the raid npc status id.
* Gets the raid npc status.
* @param npcId the npc id
* @return the raid npc status id
* @return the raid npc status
*/
public RaidBossStatus getNpcStatusId(int npcId)
public RaidBossStatus getStatus(int npcId)
{
if (_npcs.containsKey(npcId))
{

View File

@ -107,7 +107,7 @@ public class GrandBossManager implements IStorable
ThreadPool.scheduleAtFixedRate(new GrandBossManagerStoreTask(), 5 * 60 * 1000, 5 * 60 * 1000);
}
public int getBossStatus(int bossId)
public int getStatus(int bossId)
{
if (!_bossStatus.containsKey(bossId))
{
@ -116,7 +116,7 @@ public class GrandBossManager implements IStorable
return _bossStatus.get(bossId);
}
public void setBossStatus(int bossId, int status)
public void setStatus(int bossId, int status)
{
_bossStatus.put(bossId, status);
LOGGER.info(getClass().getSimpleName() + ": Updated " + NpcData.getInstance().getTemplate(bossId).getName() + "(" + bossId + ") status to " + status + ".");