Package com.smell.application.structure
Class EveData
java.lang.Object
com.smell.application.structure.EveData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a map of corporation IDs to their special categories.static booleanisNpcCorporation(long corporationId) Determines if a given corporation ID represents an NPC corporation.
-
Constructor Details
-
EveData
public EveData()
-
-
Method Details
-
getSnowflakes
Returns a map of corporation IDs to their special categories. This method ensures the map is initialized only once and is populated with predefined data representing various major alliances and their associated tags.- Returns:
- A HashMap containing the corporation IDs and their associated "snowflake" categories.
-
isNpcCorporation
public static boolean isNpcCorporation(long corporationId) Determines if a given corporation ID represents an NPC corporation. NPC corporations are typically controlled by the game system and not by players. This method identifies such corporations by checking if their IDs fall within a specific range.- Parameters:
corporationId- The ID of the corporation to check.- Returns:
- true if the corporation is an NPC corporation, otherwise false.
-