Declaration
func GetEquipments(target entity<Player>, slot EquipmentSlotType, out var equipments entity<Entity>, out var attachments List<entity<Attachment>>)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | Player | Target Player |
| Slot | EquipmentSlot | Equipment slot |
Out
| Name | Type | Description |
|---|---|---|
| Equipments | Entity | The equipment in the specified slot. If there is no equipment, it will be null. |
| Attachments | ListT_Attachment | All accessories for this equipment |