36 lines
802 B
C#
36 lines
802 B
C#
namespace UFS2.Helpers
|
|
{
|
|
public static class RefferenceHelper
|
|
{
|
|
public static FRod GetCurrentRod()
|
|
{
|
|
return FScriptsHandler.Instance.m_PlayerMain.currentRod;
|
|
}
|
|
|
|
public static FLure GetCurrentLure()
|
|
{
|
|
return FScriptsHandler.Instance.m_PlayerMain.currentRod.currentLure;
|
|
}
|
|
|
|
public static FLineHandler GetCurrentLineHandler()
|
|
{
|
|
return FScriptsHandler.Instance.m_PlayerMain.currentRod?.fishingLine.currentLineHandler;
|
|
}
|
|
|
|
public static FReel GetCurrentReel()
|
|
{
|
|
return FScriptsHandler.Instance.m_PlayerMain.currentRod.currentReel;
|
|
}
|
|
|
|
public static FFishingLine GetCurrentFishingLine()
|
|
{
|
|
return FScriptsHandler.Instance.m_PlayerMain.currentRod.fishingLine;
|
|
}
|
|
|
|
public static FPlayer GetPlayerMain()
|
|
{
|
|
return FScriptsHandler.Instance.m_PlayerMain;
|
|
}
|
|
}
|
|
}
|