14 lines
463 B
Markdown
14 lines
463 B
Markdown
|
The playerCompanions table contains bindings used to manage player companions such as pets and crew members.
|
||
|
|
||
|
---
|
||
|
|
||
|
#### `JsonArray` playerCompanions.getCompanions(`String` companionType)
|
||
|
|
||
|
Returns a list of configurations for all companions of the specified type.
|
||
|
|
||
|
---
|
||
|
|
||
|
#### `void` playerCompanions.setCompanions(`String` companionType, `JsonArray` companions)
|
||
|
|
||
|
Sets the player's companions of the specified type to the specified list of companion configurations.
|