Table of Contents

Class AdventureBossModule

Namespace
Nekoyume.Module
Assembly
Lib9c.dll
public static class AdventureBossModule
Inheritance
AdventureBossModule
Inherited Members

Fields

LatestSeasonAddress

public static readonly Address LatestSeasonAddress

Field Value

Address

Methods

GetBountyBoard(IWorldState, long)

public static BountyBoard GetBountyBoard(this IWorldState worldState, long season)

Parameters

worldState IWorldState
season long

Returns

BountyBoard

GetExploreBoard(IWorldState, long)

public static ExploreBoard GetExploreBoard(this IWorldState worldState, long season)

Parameters

worldState IWorldState
season long

Returns

ExploreBoard

GetExplorer(IWorldState, long, Address)

public static Explorer GetExplorer(this IWorldState worldState, long season, Address avatarAddress)

Parameters

worldState IWorldState
season long
avatarAddress Address

Returns

Explorer

GetExplorerList(IWorldState, long)

public static ExplorerList GetExplorerList(this IWorldState worldState, long season)

Parameters

worldState IWorldState
season long

Returns

ExplorerList

GetLatestAdventureBossSeason(IWorldState)

Get brief adventure boss season info of latest season. This only has brief, readonly data, so we must use SeasonInfo to handle season itself.

public static SeasonInfo GetLatestAdventureBossSeason(this IWorldState worldState)

Parameters

worldState IWorldState

Returns

SeasonInfo

LatestSeason state. If no season is started, return a state with default value(0)

GetSeasonInfo(IWorldState, long)

public static SeasonInfo GetSeasonInfo(this IWorldState worldState, long season)

Parameters

worldState IWorldState
season long

Returns

SeasonInfo

SetBountyBoard(IWorld, long, BountyBoard)

public static IWorld SetBountyBoard(this IWorld world, long season, BountyBoard bountyBoard)

Parameters

world IWorld
season long
bountyBoard BountyBoard

Returns

IWorld

SetExploreBoard(IWorld, long, ExploreBoard)

public static IWorld SetExploreBoard(this IWorld world, long season, ExploreBoard exploreBoard)

Parameters

world IWorld
season long
exploreBoard ExploreBoard

Returns

IWorld

SetExplorer(IWorld, long, Explorer)

public static IWorld SetExplorer(this IWorld world, long season, Explorer explorer)

Parameters

world IWorld
season long
explorer Explorer

Returns

IWorld

SetExplorerList(IWorld, long, ExplorerList)

public static IWorld SetExplorerList(this IWorld world, long season, ExplorerList explorerList)

Parameters

world IWorld
season long
explorerList ExplorerList

Returns

IWorld

SetLatestAdventureBossSeason(IWorld, SeasonInfo)

public static IWorld SetLatestAdventureBossSeason(this IWorld world, SeasonInfo latestSeasonInfo)

Parameters

world IWorld
latestSeasonInfo SeasonInfo

Returns

IWorld

SetSeasonInfo(IWorld, SeasonInfo)

public static IWorld SetSeasonInfo(this IWorld world, SeasonInfo seasonInfo)

Parameters

world IWorld
seasonInfo SeasonInfo

Returns

IWorld

TryGetExploreBoard(IWorldState, long, out ExploreBoard)

public static bool TryGetExploreBoard(this IWorldState worldState, long season, out ExploreBoard exploreBoard)

Parameters

worldState IWorldState
season long
exploreBoard ExploreBoard

Returns

bool

TryGetExplorer(IWorldState, long, Address, out Explorer)

public static bool TryGetExplorer(this IWorldState worldState, long season, Address avatarAddress, out Explorer explorer)

Parameters

worldState IWorldState
season long
avatarAddress Address
explorer Explorer

Returns

bool