AthenaShared.interfaces.item ​
Interfaces ​
Type Aliases ​
BaseItemEx ​
Ƭ BaseItemEx<T
>: BaseItem
<DefaultItemBehavior
, T
>
Apply a generic type to a base item's data set.
Type parameters ​
Name |
---|
T |
Defined in ​
ClothingInfo ​
Ƭ ClothingInfo: Object
Default Clothing Information
Type declaration ​
Name | Type |
---|---|
components | ClothingComponent [] |
sex | number |
Defined in ​
Item ​
Ƭ Item<Behavior
, CustomData
>: BaseItem
<Behavior
, CustomData
> & StoredItem
<CustomData
>
A combination of the stored, and base item.
A stored item is merged into the base item to create this
Type parameters ​
Name | Type |
---|---|
Behavior | DefaultItemBehavior |
CustomData | {} |
Defined in ​
ItemDrop ​
Ƭ ItemDrop: { _id
: unknown
; expiration
: number
; model?
: string
; name
: string
; pos
: alt.IVector3
} & StoredItem
An Item Drop that is represented on server s ide and client side.
Defined in ​
ItemEx ​
Ƭ ItemEx<T
>: BaseItem
<DefaultItemBehavior
, T
> & StoredItem
<T
>
A combination of the stored, and base item.
A stored item is merged into the base item to create this
This one allows for custom data.
Type parameters ​
Name |
---|
T |
Defined in ​
StoredItemEx ​
Ƭ StoredItemEx<T
>: StoredItem
<T
>
Apply a generic type to a custom item's data set
Type parameters ​
Name |
---|
T |
Defined in ​
WeaponInfo ​
Ƭ WeaponInfo: Object
Default Weapon Data Information
Type declaration ​
Name | Type |
---|---|
ammo | number |
components? | (string | number )[] |
hash | number |