FishingSpot

Methods
12
Fields
27

Getting one

FishingSpot.valueOf(…)
FishingSpot.findSpot(…)
FishingSpot.SHRIMP

Methods

MethodReturnsDescription
name()stringThe constant's name as declared.
ordinal()numberThe constant's 0-based position in values().
toString()stringname(); tostring(c) answers the same.
compareTo(FishingSpot)numberThis ordinal less other's.
equals(any)booleanWhether other is this constant. == answers the same.
getFishSpriteId()numberThis constant's getFishSpriteId() value, listed on each constant.
getIds(){number}This constant's getIds() value, listed on each constant.
getName()stringThis constant's getName() value, listed on each constant.
getWorldMapTooltip()stringThis constant's getWorldMapTooltip() value, listed on each constant.
values(){FishingSpot}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOf(string)FishingSpotvalueOf(name): the constant named name; any other name is an error.
findSpot(number)FishingSpot?The spot whose getIds() holds NPC id id, or nil.

Fields

FieldTypeDescription
SHRIMPFishingSpotSHRIMP: ordinal 0; getFishSpriteId() 317, getIds() {1514, 1517, 1518, 1521, 1523, 1524, 1525, 1528, 1530, 1544, 3913, 7155, 7459, 746…
LOBSTERFishingSpotLOBSTER: ordinal 1; getFishSpriteId() 377, getIds() {1510, 1519, 1522, 2146, 3914, 5820, 7199, 7460, 7465, 7470, 7946, 9173, 9174, 10…
SHARKFishingSpotSHARK: ordinal 2; getFishSpriteId() 383, getIds() {1511, 1520, 3419, 3915, 4476, 4477, 5233, 5234, 5821, 7200, 7461, 7466, 8525, 8526…
MONKFISHFishingSpotMONKFISH: ordinal 3; getFishSpriteId() 7944, getIds() {4316, 16343}, getName() "Monkfish", getWorldMapTooltip() "Monkfish".
SALMONFishingSpotSALMON: ordinal 4; getFishSpriteId() 331, getIds() {394, 1506, 1507, 1508, 1509, 1513, 1515, 1516, 1526, 1527, 3417, 3418, 7463, 7464…
LAVA_EELFishingSpotLAVA_EEL: ordinal 5; getFishSpriteId() 2149, getIds() {4928, 6784, 15384}, getName() "Lava eel", getWorldMapTooltip() "Lava eel".
BARB_FISHFishingSpotBARB_FISH: ordinal 6; getFishSpriteId() 11332, getIds() {1542, 7323}, getName() "Sturgeon, Salmon, Trout", getWorldMapTooltip() "…
ANGLERFISHFishingSpotANGLERFISH: ordinal 7; getFishSpriteId() 13439, getIds() {6825, 16342}, getName() "Anglerfish", getWorldMapTooltip() "Anglerfish".
MINNOWFishingSpotMINNOW: ordinal 8; getFishSpriteId() 21356, getIds() {7730, 7731, 7732, 7733}, getName() "Minnow", getWorldMapTooltip() "Minnow".
HARPOONFISHFishingSpotHARPOONFISH: ordinal 9; getFishSpriteId() 25564, getIds() {10565, 10568, 10569}, getName() "Harpoonfish", getWorldMapTooltip() "H…
INFERNAL_EELFishingSpotINFERNAL_EEL: ordinal 10; getFishSpriteId() 21293, getIds() {7676}, getName() "Infernal Eel", getWorldMapTooltip() "Infernal Eel".
KARAMBWANFishingSpotKARAMBWAN: ordinal 11; getFishSpriteId() 3142, getIds() {4712, 4713, 16341}, getName() "Karambwan", getWorldMapTooltip() "Karambw…
KARAMBWANJIFishingSpotKARAMBWANJI: ordinal 12; getFishSpriteId() 3150, getIds() {4710}, getName() "Karambwanji, Shrimp", getWorldMapTooltip() "Karambwa…
SACRED_EELFishingSpotSACRED_EEL: ordinal 13; getFishSpriteId() 13339, getIds() {6488}, getName() "Sacred eel", getWorldMapTooltip() "Sacred eel".
CAVE_EELFishingSpotCAVE_EEL: ordinal 14; getFishSpriteId() 5001, getIds() {1497, 1498, 1499, 1500}, getName() "Frog spawn, Cave eel", `getWorldMapTool…
SLIMY_EELFishingSpotSLIMY_EEL: ordinal 15; getFishSpriteId() 3379, getIds() {2653, 2654, 2655}, getName() "Slimy eel", getWorldMapTooltip() "Slimy ee…
DARK_CRABFishingSpotDARK_CRAB: ordinal 16; getFishSpriteId() 11934, getIds() {1535, 1536}, getName() "Dark Crab", getWorldMapTooltip() "Dark Crab".
COMMON_TENCHFishingSpotCOMMON_TENCH: ordinal 17; getFishSpriteId() 22829, getIds() {8523}, getName() "Common tench, Bluegill, Greater siren, Mottled eel",…
CAMDOZAAL_TETRAFishingSpotCAMDOZAAL_TETRA: ordinal 18; getFishSpriteId() 25666, getIds() {10686}, getName() "Guppy, Cavefish, Tetra, Catfish, Barronite shard…
CAMDOZAAL_CAVE_EELFishingSpotCAMDOZAAL_CAVE_EEL: ordinal 19; getFishSpriteId() 5003, getIds() {10653}, getName() "Slimy eel, Cave eel", getWorldMapTooltip() "…
TUTORIAL_SHRIMPFishingSpotTUTORIAL_SHRIMP: ordinal 20; getFishSpriteId() 317, getIds() {3317}, getName() "Shrimp", getWorldMapTooltip() "Shrimp".
ETCETERIA_LOBSTERFishingSpotETCETERIA_LOBSTER: ordinal 21; getFishSpriteId() 377, getIds() {3657}, getName() "Lobster", getWorldMapTooltip() "Lobster (Approv…
QUEST_RUM_DEALFishingSpotQUEST_RUM_DEAL: ordinal 22; getFishSpriteId() 6715, getIds() {635}, getName() "Sluglings", getWorldMapTooltip() "Rum deal (Quest)…
QUEST_TAI_BWO_WANNAI_TRIOFishingSpotQUEST_TAI_BWO_WANNAI_TRIO: ordinal 23; getFishSpriteId() 3142, getIds() {4714}, getName() "Karambwan", getWorldMapTooltip() "Tai…
QUEST_FISHING_CONTESTFishingSpotQUEST_FISHING_CONTEST: ordinal 24; getFishSpriteId() 337, getIds() {4079, 4080, 4081, 4082}, getName() "Giant carp", `getWorldMapTo…
CIVITAS_ILLA_FORTIS_PARKFishingSpotCIVITAS_ILLA_FORTIS_PARK: ordinal 25; getFishSpriteId() 29325, getIds() {13329}, getName() "House Keys", getWorldMapTooltip() "Ho…
SQUIDFishingSpotSQUID: ordinal 26; getFishSpriteId() 31561, getIds() {15074, 15078, 15081, 15085}, getName() "Squid", getWorldMapTooltip() "Squid…

Returned by

MethodReturnsDescription
FishingSpotClass.findSpotFishingSpot?The spot whose getIds() holds NPC id id, or nil.
FishingSpotClass.valueOfFishingSpotvalueOf(name): the constant named name; any other name is an error.
FishingSpotClass.values{FishingSpot}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

Method details

equals

equals: (FishingSpot, any) -> boolean

Whether other is this constant. == answers the same.

getIds

getIds: (FishingSpot) -> {number}

This constant's getIds() value, listed on each constant.

getName

getName: (FishingSpot) -> string

This constant's getName() value, listed on each constant.

values

values: () -> {FishingSpot}

Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

valueOf

valueOf: (string) -> FishingSpot

valueOf(name): the constant named name; any other name is an error.

Field details

SHRIMP

SHRIMP: FishingSpot

SHRIMP: ordinal 0; getFishSpriteId() 317, getIds() {1514, 1517, 1518, 1521, 1523, 1524, 1525, 1528, 1530, 1544, 3913, 7155, 7459, 7462, 7467, 7469, 7947, 10513, 12778, 14038, 14040, 14041, 14524, 15066, 16338}, getName() "Shrimp, Anchovies, Sardine, Herring", getWorldMapTooltip() "Anchovies".

LOBSTER

LOBSTER: FishingSpot

LOBSTER: ordinal 1; getFishSpriteId() 377, getIds() {1510, 1519, 1522, 2146, 3914, 5820, 7199, 7460, 7465, 7470, 7946, 9173, 9174, 10515, 10635, 12777, 14039, 15070, 15071, 15075, 15076, 15079, 15084, 15086, 16340}, getName() "Lobster, Swordfish, Tuna", getWorldMapTooltip() "Lobster".

SHARK

SHARK: FishingSpot

SHARK: ordinal 2; getFishSpriteId() 383, getIds() {1511, 1520, 3419, 3915, 4476, 4477, 5233, 5234, 5821, 7200, 7461, 7466, 8525, 8526, 8527, 9171, 9172, 10514, 12775, 12776, 14037, 14523, 15067, 15068, 15069, 15077, 15080, 15082, 15083, 15087, 16339}, getName() "Shark, Bass", getWorldMapTooltip() "Shark".

SALMON

SALMON: FishingSpot

SALMON: ordinal 4; getFishSpriteId() 331, getIds() {394, 1506, 1507, 1508, 1509, 1513, 1515, 1516, 1526, 1527, 3417, 3418, 7463, 7464, 7468, 8524, 12774, 14036, 14525, 14526, 14527, 14528, 1512, 1529, 14521, 14522, 15072, 15073}, getName() "Salmon, Trout, Pike", getWorldMapTooltip() "Salmon".

BARB_FISH

BARB_FISH: FishingSpot

BARB_FISH: ordinal 6; getFishSpriteId() 11332, getIds() {1542, 7323}, getName() "Sturgeon, Salmon, Trout", getWorldMapTooltip() "Sturgeon, Salmon, Trout".

HARPOONFISH

HARPOONFISH: FishingSpot

HARPOONFISH: ordinal 9; getFishSpriteId() 25564, getIds() {10565, 10568, 10569}, getName() "Harpoonfish", getWorldMapTooltip() "Harpoonfish".

KARAMBWAN

KARAMBWAN: FishingSpot

KARAMBWAN: ordinal 11; getFishSpriteId() 3142, getIds() {4712, 4713, 16341}, getName() "Karambwan", getWorldMapTooltip() "Karambwan".

KARAMBWANJI

KARAMBWANJI: FishingSpot

KARAMBWANJI: ordinal 12; getFishSpriteId() 3150, getIds() {4710}, getName() "Karambwanji, Shrimp", getWorldMapTooltip() "Karambwanji".

CAVE_EEL

CAVE_EEL: FishingSpot

CAVE_EEL: ordinal 14; getFishSpriteId() 5001, getIds() {1497, 1498, 1499, 1500}, getName() "Frog spawn, Cave eel", getWorldMapTooltip() "Frog spawn, Cave eel".

SLIMY_EEL

SLIMY_EEL: FishingSpot

SLIMY_EEL: ordinal 15; getFishSpriteId() 3379, getIds() {2653, 2654, 2655}, getName() "Slimy eel", getWorldMapTooltip() "Slimy eel".

COMMON_TENCH

COMMON_TENCH: FishingSpot

COMMON_TENCH: ordinal 17; getFishSpriteId() 22829, getIds() {8523}, getName() "Common tench, Bluegill, Greater siren, Mottled eel", getWorldMapTooltip() "Greater siren".

CAMDOZAAL_TETRA

CAMDOZAAL_TETRA: FishingSpot

CAMDOZAAL_TETRA: ordinal 18; getFishSpriteId() 25666, getIds() {10686}, getName() "Guppy, Cavefish, Tetra, Catfish, Barronite shards, Barronite handle", getWorldMapTooltip() "Tetra".

CAMDOZAAL_CAVE_EEL

CAMDOZAAL_CAVE_EEL: FishingSpot

CAMDOZAAL_CAVE_EEL: ordinal 19; getFishSpriteId() 5003, getIds() {10653}, getName() "Slimy eel, Cave eel", getWorldMapTooltip() "Cave eel".

ETCETERIA_LOBSTER

ETCETERIA_LOBSTER: FishingSpot

ETCETERIA_LOBSTER: ordinal 21; getFishSpriteId() 377, getIds() {3657}, getName() "Lobster", getWorldMapTooltip() "Lobster (Approval only)".

QUEST_RUM_DEAL

QUEST_RUM_DEAL: FishingSpot

QUEST_RUM_DEAL: ordinal 22; getFishSpriteId() 6715, getIds() {635}, getName() "Sluglings", getWorldMapTooltip() "Rum deal (Quest)".

QUEST_TAI_BWO_WANNAI_TRIO

QUEST_TAI_BWO_WANNAI_TRIO: FishingSpot

QUEST_TAI_BWO_WANNAI_TRIO: ordinal 23; getFishSpriteId() 3142, getIds() {4714}, getName() "Karambwan", getWorldMapTooltip() "Tai Bwo Wannai Trio (Quest)".

QUEST_FISHING_CONTEST

QUEST_FISHING_CONTEST: FishingSpot

QUEST_FISHING_CONTEST: ordinal 24; getFishSpriteId() 337, getIds() {4079, 4080, 4081, 4082}, getName() "Giant carp", getWorldMapTooltip() "Fishing Contest (Quest)".

CIVITAS_ILLA_FORTIS_PARK

CIVITAS_ILLA_FORTIS_PARK: FishingSpot

CIVITAS_ILLA_FORTIS_PARK: ordinal 25; getFishSpriteId() 29325, getIds() {13329}, getName() "House Keys", getWorldMapTooltip() "House Keys".

SQUID

SQUID: FishingSpot

SQUID: ordinal 26; getFishSpriteId() 31561, getIds() {15074, 15078, 15081, 15085}, getName() "Squid", getWorldMapTooltip() "Squid".