डिक्लेरेशन
func DestroyEquipment(target entity<Player>, slot EquipmentType, count int, out var isSuccess bool)
go
पैरामीटर्स
इनपुट
| नाम | टाइप | विवरण |
|---|---|---|
| Target | Player | Target Player |
| Slot | EquipSlotType | Weapon slot to destroy |
| Count | Int | The number to destroy |
आउट
| नाम | टाइप | विवरण |
|---|---|---|
| Is Success | Bool | Whether the destruction is successful. If there is no weapon equipped in the weapon slot, the destruction will fail. |