Table of Contents

Class AvatarModule

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

Methods

GetAvatarState(IWorldState, Address, bool, bool, bool)

public static AvatarState GetAvatarState(this IWorldState worldState, Address address, bool getInventory = true, bool getWorldInformation = true, bool getQuestList = true)

Parameters

worldState IWorldState
address Address
getInventory bool
getWorldInformation bool
getQuestList bool

Returns

AvatarState

GetEnemyAvatarState(IWorldState, Address)

public static AvatarState GetEnemyAvatarState(this IWorldState worldState, Address avatarAddress)

Parameters

worldState IWorldState
avatarAddress Address

Returns

AvatarState

SetAvatarState(IWorld, Address, AvatarState, bool, bool, bool, bool)

public static IWorld SetAvatarState(this IWorld world, Address avatarAddress, AvatarState state, bool setAvatar = true, bool setInventory = true, bool setWorldInformation = true, bool setQuestList = true)

Parameters

world IWorld
avatarAddress Address
state AvatarState
setAvatar bool
setInventory bool
setWorldInformation bool
setQuestList bool

Returns

IWorld

TryGetAvatarState(IWorldState, Address, Address, out AvatarState)

public static bool TryGetAvatarState(this IWorldState worldState, Address agentAddress, Address avatarAddress, out AvatarState avatarState)

Parameters

worldState IWorldState
agentAddress Address
avatarAddress Address
avatarState AvatarState

Returns

bool