Table of Contents

Class Player

Namespace
Nekoyume.Model
Assembly
Lib9c.dll
[Serializable]
public class Player : CharacterBase, ICloneable
Inheritance
Player
Implements
Derived
Inherited Members

Constructors

Player(ArenaPlayerDigest, ArenaSimulatorSheetsV1)

public Player(ArenaPlayerDigest enemyArenaPlayerDigest, ArenaSimulatorSheetsV1 simulatorSheets)

Parameters

enemyArenaPlayerDigest ArenaPlayerDigest
simulatorSheets ArenaSimulatorSheetsV1

Player(Player)

protected Player(Player value)

Parameters

value Player

Player(AvatarState, Simulator)

public Player(AvatarState avatarState, Simulator simulator)

Parameters

avatarState AvatarState
simulator Simulator

Player(AvatarState, CharacterSheet, CharacterLevelSheet, EquipmentItemSetEffectSheet)

public Player(AvatarState avatarState, CharacterSheet characterSheet, CharacterLevelSheet characterLevelSheet, EquipmentItemSetEffectSheet equipmentItemSetEffectSheet)

Parameters

avatarState AvatarState
characterSheet CharacterSheet
characterLevelSheet CharacterLevelSheet
equipmentItemSetEffectSheet EquipmentItemSetEffectSheet

Player(AvatarState, SimulatorSheetsV1)

public Player(AvatarState avatarState, SimulatorSheetsV1 simulatorSheets)

Parameters

avatarState AvatarState
simulatorSheets SimulatorSheetsV1

Player(int, CharacterSheet, CharacterLevelSheet, EquipmentItemSetEffectSheet)

public Player(int level, CharacterSheet characterSheet, CharacterLevelSheet characterLevelSheet, EquipmentItemSetEffectSheet equipmentItemSetEffectSheet)

Parameters

level int
characterSheet CharacterSheet
characterLevelSheet CharacterLevelSheet
equipmentItemSetEffectSheet EquipmentItemSetEffectSheet

Fields

Exp

public readonly Player.ExpData Exp

Field Value

Player.ExpData

Grimoire

public Grimoire Grimoire

Field Value

Grimoire

Inventory

public readonly Inventory Inventory

Field Value

Inventory

RuneSkillCooldownMap

public readonly Dictionary<int, int> RuneSkillCooldownMap

Field Value

Dictionary<int, int>

RuneSkills

public readonly Skills RuneSkills

Field Value

Skills

armor

public Armor armor

Field Value

Armor

aura

public Aura aura

Field Value

Aura

belt

public Belt belt

Field Value

Belt

characterLevelSheet

public CharacterLevelSheet characterLevelSheet

Field Value

CharacterLevelSheet

costumes

protected List<Costume> costumes

Field Value

List<Costume>

earIndex

public int earIndex

Field Value

int

equipments

protected List<Equipment> equipments

Field Value

List<Equipment>

eventMap

public CollectionMap eventMap

Field Value

CollectionMap

eventMapForBeforeV100310

public CollectionMap eventMapForBeforeV100310

Field Value

CollectionMap

hairIndex

public int hairIndex

Field Value

int

lensIndex

public int lensIndex

Field Value

int

monsterMap

public CollectionMap monsterMap

Field Value

CollectionMap

monsterMapForBeforeV100310

public CollectionMap monsterMapForBeforeV100310

Field Value

CollectionMap

necklace

public Necklace necklace

Field Value

Necklace

ring

public Ring ring

Field Value

Ring

tailIndex

public int tailIndex

Field Value

int

weapon

public Weapon weapon

Field Value

Weapon

worldInformation

public WorldInformation worldInformation

Field Value

WorldInformation

Properties

Costumes

public IReadOnlyList<Costume> Costumes { get; }

Property Value

IReadOnlyList<Costume>

Equipments

public IReadOnlyList<Equipment> Equipments { get; }

Property Value

IReadOnlyList<Equipment>

Methods

AddSkill(Skill)

public void AddSkill(Skill skill)

Parameters

skill Skill

Clone()

Creates a new object that is a copy of the current instance.

public override object Clone()

Returns

object

A new object that is a copy of this instance.

ConfigureStats(CostumeStatSheet, List<RuneState>, RuneOptionSheet, int, SkillSheet, List<StatModifier>)

public void ConfigureStats(CostumeStatSheet costumeStatSheet, List<RuneState> runeStates, RuneOptionSheet runeOptionSheet, int runeLevelBonus, SkillSheet skillSheet, List<StatModifier> collectionModifiers)

Parameters

costumeStatSheet CostumeStatSheet
runeStates List<RuneState>
runeOptionSheet RuneOptionSheet
runeLevelBonus int
skillSheet SkillSheet
collectionModifiers List<StatModifier>

EndTurn()

protected override void EndTurn()

GetExp(long, bool)

public void GetExp(long waveExp, bool log = false)

Parameters

waveExp long
log bool

GetExp2(long, bool)

[Obsolete("Use GetExp")]
public void GetExp2(long waveExp, bool log = false)

Parameters

waveExp long
log bool

GetExp3(long, bool)

[Obsolete("Use GetExp")]
public void GetExp3(long waveExp, bool log = false)

Parameters

waveExp long
log bool

GetRewards(List<ItemBase>)

public CollectionMap GetRewards(List<ItemBase> items)

Parameters

items List<ItemBase>

Returns

CollectionMap

GetRewards2(List<ItemBase>)

[Obsolete("Use GetRewards")]
public CollectionMap GetRewards2(List<ItemBase> items)

Parameters

items List<ItemBase>

Returns

CollectionMap

IsHit(CharacterBase)

public override bool IsHit(CharacterBase caster)

Parameters

caster CharacterBase

Returns

bool

OnDead()

protected override void OnDead()

OverrideSkill(Skill)

public void OverrideSkill(Skill skill)

Parameters

skill Skill

ReduceSkillCooldown()

protected override void ReduceSkillCooldown()

RemoveTarget(Enemy)

public void RemoveTarget(Enemy enemy)

Parameters

enemy Enemy

RemoveTarget(EnemyPlayer)

public void RemoveTarget(EnemyPlayer enemy)

Parameters

enemy EnemyPlayer

SetCollections(IEnumerable<StatModifier>)

public void SetCollections(IEnumerable<StatModifier> statModifiers)

Parameters

statModifiers IEnumerable<StatModifier>

SetCostumeStat(CostumeStatSheet)

public void SetCostumeStat(CostumeStatSheet costumeStatSheet)

Parameters

costumeStatSheet CostumeStatSheet

SetEquipmentStat(EquipmentItemSetEffectSheet)

protected void SetEquipmentStat(EquipmentItemSetEffectSheet sheet)

Parameters

sheet EquipmentItemSetEffectSheet

SetRuneSkills(List<RuneState>, RuneOptionSheet, SkillSheet)

Sets the rune skills for the player.

public void SetRuneSkills(List<RuneState> runes, RuneOptionSheet runeOptionSheet, SkillSheet skillSheet)

Parameters

runes List<RuneState>

The list of rune states.

runeOptionSheet RuneOptionSheet

The rune option sheet.

skillSheet SkillSheet

The skill sheet.

SetRuneStats(List<RuneState>, RuneOptionSheet, int)

Sets the rune stats for a player character.

public void SetRuneStats(List<RuneState> runes, RuneOptionSheet runeOptionSheet, int runeLevelBonus)

Parameters

runes List<RuneState>

The AllRuneState for the player character.

runeOptionSheet RuneOptionSheet

The rune option sheet that contains information about rune options.

runeLevelBonus int

The rune level bonus value from RuneLevelBonusSheet. This enhances equipped rune stats.

SetRuneV1(List<RuneState>, RuneOptionSheet, SkillSheet)

[Obsolete("Use SetRune")]
public void SetRuneV1(List<RuneState> runes, RuneOptionSheet runeOptionSheet, SkillSheet skillSheet)

Parameters

runes List<RuneState>
runeOptionSheet RuneOptionSheet
skillSheet SkillSheet

Spawn()

public virtual void Spawn()

SpawnV1()

[Obsolete("Use Spawn")]
public virtual void SpawnV1()

SpawnV2()

[Obsolete("Use Spawn")]
public virtual void SpawnV2()

Use(List<Guid>)

public void Use(List<Guid> consumableIds)

Parameters

consumableIds List<Guid>

UseSkill()

protected override Skill UseSkill()

Returns

Skill