Project Zomboid Lua Docs 42.20.3
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
Fishing::Utils Class Reference

Static Public Member Functions

static boolean isWaterCoords (number x, number y)
static number getAimCoords (IsoPlayer player)
static boolean isStopFishingButtonPressed (integer joypad)
static void hotbarStopper ()
static boolean isPlayerAimOnWater (IsoPlayer player, boolean autoAim)
static boolean isAccessibleAimDist (IsoPlayer player)
static void facePlayerToAim (IsoPlayer player)
static void FacePlayerToBobber (IsoPlayer player, number x, number y)
static boolean isCastButtonPressed (integer joypad)
static number isGamepadReelMove (integer joypad, number prevValue)
static boolean isNearShore (number x, number y)
static number getFishSizeChancesBySkillLevel (integer lvl, boolean isNearShore, number fishNum)
static umbrella::Fishing::TemperatureParams getTemperatureParams (IsoPlayer player)
static umbrella::Fishing::WeatherParams getWeatherParams ()
static umbrella::Fishing::TimeParams getTimeParams ()
static umbrella::Fishing::HookParams getHookParams (nil hookType)
static umbrella::Fishing::FishNumParams getFishNumParams (number x, number y)

Static Public Attributes

static string[] stopFishingKeysKeyboard
static string[] hotbarKeys
static table< integer, number > skillSizeLimit
static table< integer,[integer, integer, integer]> fishSizeChancesBySkillLevel

Member Function Documentation

◆ facePlayerToAim()

void Fishing::Utils::facePlayerToAim ( IsoPlayer player)
static

◆ FacePlayerToBobber()

void Fishing::Utils::FacePlayerToBobber ( IsoPlayer player,
number x,
number y )
static

◆ getAimCoords()

number Fishing::Utils::getAimCoords ( IsoPlayer player)
static

◆ getFishNumParams()

umbrella::Fishing::FishNumParams Fishing::Utils::getFishNumParams ( number x,
number y )
static

◆ getFishSizeChancesBySkillLevel()

number Fishing::Utils::getFishSizeChancesBySkillLevel ( integer lvl,
boolean isNearShore,
number fishNum )
static

◆ getHookParams()

umbrella::Fishing::HookParams Fishing::Utils::getHookParams ( nil hookType)
static

◆ getTemperatureParams()

umbrella::Fishing::TemperatureParams Fishing::Utils::getTemperatureParams ( IsoPlayer player)
static

◆ getTimeParams()

umbrella::Fishing::TimeParams Fishing::Utils::getTimeParams ( )
static

◆ getWeatherParams()

umbrella::Fishing::WeatherParams Fishing::Utils::getWeatherParams ( )
static

◆ hotbarStopper()

void Fishing::Utils::hotbarStopper ( )
static

◆ isAccessibleAimDist()

boolean Fishing::Utils::isAccessibleAimDist ( IsoPlayer player)
static

◆ isCastButtonPressed()

boolean Fishing::Utils::isCastButtonPressed ( integer joypad)
static

◆ isGamepadReelMove()

number Fishing::Utils::isGamepadReelMove ( integer joypad,
number prevValue )
static

◆ isNearShore()

boolean Fishing::Utils::isNearShore ( number x,
number y )
static

◆ isPlayerAimOnWater()

boolean Fishing::Utils::isPlayerAimOnWater ( IsoPlayer player,
boolean autoAim )
static

◆ isStopFishingButtonPressed()

boolean Fishing::Utils::isStopFishingButtonPressed ( integer joypad)
static

◆ isWaterCoords()

boolean Fishing::Utils::isWaterCoords ( number x,
number y )
static

Member Data Documentation

◆ fishSizeChancesBySkillLevel

table<integer, [integer, integer, integer]> Fishing::Utils::fishSizeChancesBySkillLevel
static

◆ hotbarKeys

string [] Fishing::Utils::hotbarKeys
static

◆ skillSizeLimit

table<integer, number> Fishing::Utils::skillSizeLimit
static

◆ stopFishingKeysKeyboard

string [] Fishing::Utils::stopFishingKeysKeyboard
static

The documentation for this class was generated from the following file: