Skip to content
On this page

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 ​

shared/interfaces/item.ts:293


ClothingInfo ​

Ƭ ClothingInfo: Object

Default Clothing Information

Type declaration ​

NameType
componentsClothingComponent[]
sexnumber

Defined in ​

shared/interfaces/item.ts:22


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 ​

NameType
BehaviorDefaultItemBehavior
CustomData{}

Defined in ​

shared/interfaces/item.ts:395


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 ​

shared/interfaces/item.ts:11


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 ​

shared/interfaces/item.ts:405


StoredItemEx ​

Ƭ StoredItemEx<T>: StoredItem<T>

Apply a generic type to a custom item's data set

Type parameters ​

Name
T

Defined in ​

shared/interfaces/item.ts:218


WeaponInfo ​

Ƭ WeaponInfo: Object

Default Weapon Data Information

Type declaration ​

NameType
ammonumber
components?(string | number)[]
hashnumber

Defined in ​

shared/interfaces/item.ts:6

Created by Stuyk | Est. 2020