UnitType
, Sc2ApiSerializable<java.lang.Integer>
, java.io.Serializable
, java.lang.Comparable<Units>
public enum Units extends java.lang.Enum<Units> implements UnitType
Modifier and Type | Class | Description |
---|---|---|
static class |
Units.Other |
Modifier and Type | Method | Description |
---|---|---|
static UnitType |
from(int sc2ApiUnitTypeId) |
|
java.util.Set<Abilities> |
getAbilities() |
|
int |
getUnitTypeId() |
|
java.lang.Integer |
toSc2Api() |
|
static Units |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Units[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Units INVALID
public static final Units TERRAN_ARMORY
public static final Units TERRAN_AUTO_TURRET
public static final Units TERRAN_BANSHEE
public static final Units TERRAN_BARRACKS
public static final Units TERRAN_BARRACKS_FLYING
public static final Units TERRAN_BARRACKS_REACTOR
public static final Units TERRAN_BARRACKS_TECHLAB
public static final Units TERRAN_BATTLECRUISER
public static final Units TERRAN_BUNKER
public static final Units TERRAN_COMMAND_CENTER
public static final Units TERRAN_COMMAND_CENTER_FLYING
public static final Units TERRAN_CYCLONE
public static final Units TERRAN_ENGINEERING_BAY
public static final Units TERRAN_FACTORY
public static final Units TERRAN_FACTORY_FLYING
public static final Units TERRAN_FACTORY_REACTOR
public static final Units TERRAN_FACTORY_TECHLAB
public static final Units TERRAN_FUSION_CORE
public static final Units TERRAN_GHOST
public static final Units TERRAN_GHOST_ACADEMY
public static final Units TERRAN_HELLION
public static final Units TERRAN_HELLION_TANK
public static final Units TERRAN_LIBERATOR
public static final Units TERRAN_LIBERATOR_AG
public static final Units TERRAN_MARAUDER
public static final Units TERRAN_MARINE
public static final Units TERRAN_MEDIVAC
public static final Units TERRAN_MISSILE_TURRET
public static final Units TERRAN_MULE
public static final Units TERRAN_ORBITAL_COMMAND
public static final Units TERRAN_ORBITAL_COMMAND_FLYING
public static final Units TERRAN_PLANETARY_FORTRESS
public static final Units TERRAN_RAVEN
public static final Units TERRAN_REAPER
public static final Units TERRAN_REFINERY
public static final Units TERRAN_SCV
public static final Units TERRAN_SENSOR_TOWER
public static final Units TERRAN_SIEGE_TANK
public static final Units TERRAN_SIEGE_TANK_SIEGED
public static final Units TERRAN_STARPORT
public static final Units TERRAN_STARPORT_FLYING
public static final Units TERRAN_STARPORT_REACTOR
public static final Units TERRAN_STARPORT_TECHLAB
public static final Units TERRAN_SUPPLY_DEPOT
public static final Units TERRAN_SUPPLY_DEPOT_LOWERED
public static final Units TERRAN_THOR
public static final Units TERRAN_THOR_AP
public static final Units TERRAN_VIKING_ASSAULT
public static final Units TERRAN_VIKING_FIGHTER
public static final Units TERRAN_WIDOWMINE
public static final Units TERRAN_WIDOWMINE_BURROWED
public static final Units TERRAN_KD8CHARGE
public static final Units TERRAN_NUKE
public static final Units TERRAN_POINT_DEFENSE_DRONE
public static final Units TERRAN_REACTOR
public static final Units TERRAN_TECHLAB
public static final Units ZERG_BANELING
public static final Units ZERG_BANELING_BURROWED
public static final Units ZERG_BANELING_COCOON
public static final Units ZERG_BANELING_NEST
public static final Units ZERG_BROODLING
public static final Units ZERG_BROODLORD
public static final Units ZERG_BROODLORD_COCOON
public static final Units ZERG_CHANGELING
public static final Units ZERG_CHANGELING_MARINE
public static final Units ZERG_CHANGELING_MARINE_SHIELD
public static final Units ZERG_CHANGELING_ZEALOT
public static final Units ZERG_CHANGELING_ZERGLING
public static final Units ZERG_CHANGELING_ZERGLING_WINGS
public static final Units ZERG_CORRUPTOR
public static final Units ZERG_CREEP_TUMOR
public static final Units ZERG_CREEP_TUMOR_BURROWED
public static final Units ZERG_CREEP_TUMOR_QUEEN
public static final Units ZERG_DRONE
public static final Units ZERG_DRONE_BURROWED
public static final Units ZERG_EGG
public static final Units ZERG_EVOLUTION_CHAMBER
public static final Units ZERG_EXTRACTOR
public static final Units ZERG_GREATER_SPIRE
public static final Units ZERG_HATCHERY
public static final Units ZERG_HIVE
public static final Units ZERG_HYDRALISK
public static final Units ZERG_HYDRALISK_BURROWED
public static final Units ZERG_HYDRALISK_DEN
public static final Units ZERG_INFESTATION_PIT
public static final Units ZERG_INFESTED_TERRANS_EGG
public static final Units ZERG_INFESTOR
public static final Units ZERG_INFESTOR_BURROWED
public static final Units ZERG_INFESTOR_TERRAN
public static final Units ZERG_LAIR
public static final Units ZERG_LARVA
public static final Units ZERG_LOCUS_TMP
public static final Units ZERG_LOCUS_TMP_FLYING
public static final Units ZERG_LURKER_DEN_MP
public static final Units ZERG_LURKER_MP
public static final Units ZERG_LURKER_MP_BURROWED
public static final Units ZERG_LURKER_MP_EGG
public static final Units ZERG_MUTALISK
public static final Units ZERG_NYDUS_CANAL
public static final Units ZERG_NYDUS_NETWORK
public static final Units ZERG_OVERLORD
public static final Units ZERG_OVERLORD_COCOON
public static final Units ZERG_OVERLORD_TRANSPORT
public static final Units ZERG_OVERSEER
public static final Units ZERG_QUEEN
public static final Units ZERG_QUEEN_BURROWED
public static final Units ZERG_RAVAGER
public static final Units ZERG_RAVAGER_COCOON
public static final Units ZERG_ROACH
public static final Units ZERG_ROACH_BURROWED
public static final Units ZERG_ROACH_WARREN
public static final Units ZERG_SPAWNING_POOL
public static final Units ZERG_SPINE_CRAWLER
public static final Units ZERG_SPINE_CRAWLER_UPROOTED
public static final Units ZERG_SPIRE
public static final Units ZERG_SPORE_CRAWLER
public static final Units ZERG_SPORE_CRAWLER_UPROOTED
public static final Units ZERG_SWARM_HOST_BURROWED_MP
public static final Units ZERG_SWARM_HOST_MP
public static final Units ZERG_TRANSPORT_OVERLORD_COCOON
public static final Units ZERG_ULTRALISK
public static final Units ZERG_ULTRALISK_CAVERN
public static final Units ZERG_VIPER
public static final Units ZERG_ZERGLING
public static final Units ZERG_ZERGLING_BURROWED
public static final Units ZERG_PARASITIC_BOMB_DUMMY
public static final Units PROTOSS_ADEPT
public static final Units PROTOSS_ADEPT_PHASE_SHIFT
public static final Units PROTOSS_ARCHON
public static final Units PROTOSS_ASSIMILATOR
public static final Units PROTOSS_CARRIER
public static final Units PROTOSS_COLOSSUS
public static final Units PROTOSS_CYBERNETICS_CORE
public static final Units PROTOSS_DARK_SHRINE
public static final Units PROTOSS_DARK_TEMPLAR
public static final Units PROTOSS_DISRUPTOR
public static final Units PROTOSS_DISRUPTOR_PHASED
public static final Units PROTOSS_FLEET_BEACON
public static final Units PROTOSS_FORGE
public static final Units PROTOSS_GATEWAY
public static final Units PROTOSS_HIGH_TEMPLAR
public static final Units PROTOSS_IMMORTAL
public static final Units PROTOSS_INTERCEPTOR
public static final Units PROTOSS_MOTHERSHIP
public static final Units PROTOSS_MOTHER_SHIP_CORE
public static final Units PROTOSS_NEXUS
public static final Units PROTOSS_OBSERVER
public static final Units PROTOSS_ORACLE
public static final Units PROTOSS_ORACLE_STASIS_TRAP
public static final Units PROTOSS_PHOENIX
public static final Units PROTOSS_PHOTON_CANNON
public static final Units PROTOSS_PROBE
public static final Units PROTOSS_PYLON
public static final Units PROTOSS_PYLON_OVERCHARGED
public static final Units PROTOSS_ROBOTICS_BAY
public static final Units PROTOSS_ROBOTICS_FACILITY
public static final Units PROTOSS_SENTRY
public static final Units PROTOSS_STALKER
public static final Units PROTOSS_STARGATE
public static final Units PROTOSS_TEMPEST
public static final Units PROTOSS_TEMPLAR_ARCHIVE
public static final Units PROTOSS_TWILIGHT_COUNCIL
public static final Units PROTOSS_VOIDRAY
public static final Units PROTOSS_WARP_GATE
public static final Units PROTOSS_WARP_PRISM
public static final Units PROTOSS_WARP_PRISM_PHASING
public static final Units PROTOSS_ZEALOT
public static final Units NEUTRAL_COLLAPSIBLE_ROCK_TOWER_DEBRIS
public static final Units NEUTRAL_COLLAPSIBLE_ROCK_TOWER_DIAGONAL
public static final Units NEUTRAL_COLLAPSIBLE_ROCK_TOWER_PUSH_UNIT
public static final Units NEUTRAL_COLLAPSIBLE_TERRAN_TOWER_DEBRIS
public static final Units NEUTRAL_COLLAPSIBLE_TERRAN_TOWER_DIAGONAL
public static final Units NEUTRAL_COLLAPSIBLE_TERRAN_TOWER_PUSH_UNIT
public static final Units NEUTRAL_COLLAPSIBLE_TERRAN_TOWER_PUSH_UNIT_RAMP_LEFT
public static final Units NEUTRAL_COLLAPSIBLE_TERRAN_TOWER_PUSH_UNIT_RAMP_RIGHT
public static final Units NEUTRAL_COLLAPSIBLE_TERRAN_TOWER_RAMP_LEFT
public static final Units NEUTRAL_COLLAPSIBLE_TERRAN_TOWER_RAMP_RIGHT
public static final Units NEUTRAL_DEBRIS_RAMP_LEFT
public static final Units NEUTRAL_DEBRIS_RAMP_RIGHT
public static final Units NEUTRAL_DESTRUCTIBLE_DEBRIS6X6
public static final Units NEUTRAL_DESTRUCTIBLE_DEBRIS_RAMP_DIAGONAL_HUGE_BL_UR
public static final Units NEUTRAL_DESTRUCTIBLE_DEBRIS_RAMP_DIAGONAL_HUGE_UL_BR
public static final Units NEUTRAL_DESTRUCTIBLE_ROCK6X6
public static final Units NEUTRAL_DESTRUCTIBLE_ROCK_EX1_DIAGONAL_HUGE_BL_UR
public static final Units NEUTRAL_FORCE_FIELD
public static final Units NEUTRAL_KARAK_FEMALE
public static final Units NEUTRAL_LAB_MINERAL_FIELD
public static final Units NEUTRAL_LAB_MINERAL_FIELD750
public static final Units NEUTRAL_MINERAL_FIELD
public static final Units NEUTRAL_MINERAL_FIELD750
public static final Units NEUTRAL_PROTOSS_VESPANE_GEYSER
public static final Units NEUTRAL_RICH_MINERAL_FIELD
public static final Units NEUTRAL_RICH_MINERAL_FIELD750
public static final Units NEUTRAL_SCANTIPEDE
public static final Units NEUTRAL_SPACE_PLATFORM_GEYSER
public static final Units NEUTRAL_UNBUILDABLE_BRICKS_DESTRUCTIBLE
public static final Units NEUTRAL_UNBUILDABLE_PLATES_DESTRUCTIBLE
public static final Units NEUTRAL_UTILITY_BOT
public static final Units NEUTRAL_VESPANE_GEYSER
public static final Units NEUTRAL_XELNAGA_TOWER
public static final Units NEUTRAL_BATTLE_STATION_MINERAL_FIELD
public static final Units NEUTRAL_BATTLE_STATION_MINERAL_FIELD750
public static final Units NEUTRAL_PURIFIER_MINERAL_FIELD
public static final Units NEUTRAL_PURIFIER_MINERAL_FIELD750
public static final Units NEUTRAL_PURIFIER_RICH_MINERAL_FIELD
public static final Units NEUTRAL_PURIFIER_RICH_MINERAL_FIELD750
public static final Units NEUTRAL_PURIFIER_VESPENE_GEYSER
public static final Units NEUTRAL_RICH_VESPENE_GEYSER
public static final Units NEUTRAL_SHAKURAS_VESPENE_GEYSER
public static Units[] values()
for (Units c : Units.values()) System.out.println(c);
public static Units valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static UnitType from(int sc2ApiUnitTypeId)
public java.lang.Integer toSc2Api()
toSc2Api
in interface Sc2ApiSerializable<java.lang.Integer>
public int getUnitTypeId()
getUnitTypeId
in interface UnitType
public java.util.Set<Abilities> getAbilities()
getAbilities
in interface UnitType
Copyright © 2017–2018 Ocraft Project. All rights reserved.