Preparing search index...
The search index is not available
@manticorp/ultraloot
@manticorp/ultraloot
index
LootTablePool
Class LootTablePool
Index
Constructors
constructor
Properties
conditions
entries
functions
id?
name?
nulls
rolls
template
NULLKEY
Accessors
description
Methods
add
Entry
create
Entry
describe
get
Entries
process
Entry
Result
process
Entry
Results
process
Entry
Results
Sync
process
Entry
Result
Sync
roll
roll
Sync
Constructors
constructor
new
Loot
Table
Pool
(
definition
?
)
:
LootTablePool
Parameters
definition
:
LootTablePoolDefinition
= {}
The loot table pool definition
Returns
LootTablePool
Properties
conditions
conditions
:
ConditionDefinition
[]
= []
entries
entries
:
(
LootTableEntry
|
LootTable
)
[]
= []
functions
functions
:
FunctionDefinition
[]
= []
Optional
id
id
?:
string
Optional
name
name
?:
string
nulls
nulls
:
ChancyNumeric
= 0
rolls
rolls
:
ChancyNumeric
= 1
template
template
:
Partial
<
LootTableEntryDefinition
>
= {}
Static
NULLKEY
NULLKEY
:
string
= '__NULL__fd2a99d2-26c0-4454-a284-34578b94e0f6'
Accessors
description
get
description
(
)
:
string
Returns
string
Methods
add
Entry
add
Entry
(
entry
,
def
?
)
:
this
Parameters
entry
:
LootTableEntryDefinition
|
LootTableEntry
|
LootTable
Optional
def
:
Omit
<
LootTableEntryDefinition
,
"id"
>
Returns
this
create
Entry
create
Entry
(
def
)
:
LootTableEntry
Parameters
def
:
LootTableEntryDefinition
Returns
LootTableEntry
describe
describe
(
)
:
string
Returns
string
get
Entries
get
Entries
(
)
:
(
LootTableEntry
|
LootTable
)
[]
Returns
(
LootTableEntry
|
LootTable
)
[]
process
Entry
Result
process
Entry
Result
(
looted
,
__namedParameters
)
:
Promise
<
void
>
Parameters
looted
:
LootTableEntryResult
__namedParameters
:
{
context
:
any
;
looter
:
any
;
result
:
LootTableEntryResults
;
rng
:
RngInterface
;
table
:
LootTable
;
}
context
:
any
looter
:
any
result
:
LootTableEntryResults
rng
:
RngInterface
table
:
LootTable
Returns
Promise
<
void
>
process
Entry
Results
process
Entry
Results
(
entryResults
,
__namedParameters
)
:
Promise
<
void
[]
>
Parameters
entryResults
:
LootTableEntryResults
__namedParameters
:
{
context
:
any
;
looter
:
any
;
result
:
LootTableEntryResults
;
rng
:
RngInterface
;
table
:
LootTable
;
}
context
:
any
looter
:
any
result
:
LootTableEntryResults
rng
:
RngInterface
table
:
LootTable
Returns
Promise
<
void
[]
>
process
Entry
Results
Sync
process
Entry
Results
Sync
(
entryResults
,
__namedParameters
)
:
LootTableEntryResults
Parameters
entryResults
:
LootTableEntryResults
__namedParameters
:
{
context
:
any
;
looter
:
any
;
result
:
LootTableEntryResults
;
rng
:
RngInterface
;
table
:
LootTable
;
}
context
:
any
looter
:
any
result
:
LootTableEntryResults
rng
:
RngInterface
table
:
LootTable
Returns
LootTableEntryResults
process
Entry
Result
Sync
process
Entry
Result
Sync
(
looted
,
__namedParameters
)
:
void
Parameters
looted
:
LootTableEntryResult
__namedParameters
:
{
context
:
any
;
looter
:
any
;
result
:
LootTableEntryResults
;
rng
:
RngInterface
;
table
:
LootTable
;
}
context
:
any
looter
:
any
result
:
LootTableEntryResults
rng
:
RngInterface
table
:
LootTable
Returns
void
roll
roll
(
__namedParameters
)
:
Promise
<
LootTableEntryResults
>
Parameters
__namedParameters
:
{
context
:
any
;
looter
:
any
;
result
:
LootTableEntryResults
;
rng
:
RngInterface
;
table
:
LootTable
;
}
context
:
any
looter
:
any
result
:
LootTableEntryResults
rng
:
RngInterface
table
:
LootTable
Returns
Promise
<
LootTableEntryResults
>
roll
Sync
roll
Sync
(
__namedParameters
)
:
LootTableEntryResults
Parameters
__namedParameters
:
{
context
:
any
;
looter
:
any
;
result
:
LootTableEntryResults
;
rng
:
RngInterface
;
table
:
LootTable
;
}
context
:
any
looter
:
any
result
:
LootTableEntryResults
rng
:
RngInterface
table
:
LootTable
Returns
LootTableEntryResults
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
conditions
entries
functions
id
name
nulls
rolls
template
NULLKEY
Accessors
description
Methods
add
Entry
create
Entry
describe
get
Entries
process
Entry
Result
process
Entry
Results
process
Entry
Results
Sync
process
Entry
Result
Sync
roll
roll
Sync
@manticorp/ultraloot
Loading...
The loot table pool definition