Documentation

EnchantOption
in package

Table of Contents

$cost  : int
$equipActivatedEnchantments  : array<string|int, mixed>
$heldActivatedEnchantments  : array<string|int, mixed>
$name  : string
$optionId  : int
$selfActivatedEnchantments  : array<string|int, mixed>
$slotFlags  : int
__construct()  : mixed
getCost()  : int
getEquipActivatedEnchantments()  : array<string|int, Enchant>
getHeldActivatedEnchantments()  : array<string|int, Enchant>
getName()  : string
getOptionId()  : int
getSelfActivatedEnchantments()  : array<string|int, Enchant>
getSlotFlags()  : int
read()  : self
write()  : void
readEnchantList()  : array<string|int, Enchant>
writeEnchantList()  : void

Properties

$equipActivatedEnchantments

private array<string|int, mixed> $equipActivatedEnchantments

$heldActivatedEnchantments

private array<string|int, mixed> $heldActivatedEnchantments

$selfActivatedEnchantments

private array<string|int, mixed> $selfActivatedEnchantments

Methods

__construct()

public __construct(int $cost, int $slotFlags, array<string|int, Enchant$equipActivatedEnchantments, array<string|int, Enchant$heldActivatedEnchantments, array<string|int, Enchant$selfActivatedEnchantments, string $name, int $optionId) : mixed
Parameters
$cost : int
$slotFlags : int
$equipActivatedEnchantments : array<string|int, Enchant>
$heldActivatedEnchantments : array<string|int, Enchant>
$selfActivatedEnchantments : array<string|int, Enchant>
$name : string
$optionId : int
Return values
mixed

getEquipActivatedEnchantments()

public getEquipActivatedEnchantments() : array<string|int, Enchant>
Return values
array<string|int, Enchant>

getHeldActivatedEnchantments()

public getHeldActivatedEnchantments() : array<string|int, Enchant>
Return values
array<string|int, Enchant>

getName()

public getName() : string
Return values
string

getOptionId()

public getOptionId() : int
Return values
int

getSelfActivatedEnchantments()

public getSelfActivatedEnchantments() : array<string|int, Enchant>
Return values
array<string|int, Enchant>

getSlotFlags()

public getSlotFlags() : int
Return values
int

Search results