From 15e35f9167a53d354d0885ea9266fb63116233fb Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 30 Mar 2022 12:50:58 -0400 Subject: [PATCH] More changes --- src/api/inventory/IBadgeItem.ts | 5 ----- src/api/inventory/TradeState.ts | 14 +++++++------- src/api/inventory/index.ts | 1 - src/api/inventory/unseen/UnseenItemCategory.ts | 15 +++++++-------- 4 files changed, 14 insertions(+), 21 deletions(-) delete mode 100644 src/api/inventory/IBadgeItem.ts diff --git a/src/api/inventory/IBadgeItem.ts b/src/api/inventory/IBadgeItem.ts deleted file mode 100644 index ec983767..00000000 --- a/src/api/inventory/IBadgeItem.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface IBadgeItem -{ - id: number; - badgeCode: string; -} diff --git a/src/api/inventory/TradeState.ts b/src/api/inventory/TradeState.ts index 68253e87..3df418ba 100644 --- a/src/api/inventory/TradeState.ts +++ b/src/api/inventory/TradeState.ts @@ -1,10 +1,10 @@ export class TradeState { - public static TRADING_STATE_READY: number = 0; - public static TRADING_STATE_RUNNING: number = 1; - public static TRADING_STATE_COUNTDOWN: number = 2; - public static TRADING_STATE_CONFIRMING: number = 3; - public static TRADING_STATE_CONFIRMED: number = 4; - public static TRADING_STATE_COMPLETED: number = 5; - public static TRADING_STATE_CANCELLED: number = 6; + public static TRADING_STATE_READY: number = 0; + public static TRADING_STATE_RUNNING: number = 1; + public static TRADING_STATE_COUNTDOWN: number = 2; + public static TRADING_STATE_CONFIRMING: number = 3; + public static TRADING_STATE_CONFIRMED: number = 4; + public static TRADING_STATE_COMPLETED: number = 5; + public static TRADING_STATE_CANCELLED: number = 6; } diff --git a/src/api/inventory/index.ts b/src/api/inventory/index.ts index 31b6dfad..1eca74d0 100644 --- a/src/api/inventory/index.ts +++ b/src/api/inventory/index.ts @@ -1,7 +1,6 @@ export * from './FurniCategory'; export * from './FurnitureItem'; export * from './GroupItem'; -export * from './IBadgeItem'; export * from './IBotItem'; export * from './IFurnitureItem'; export * from './InventoryUtilities'; diff --git a/src/api/inventory/unseen/UnseenItemCategory.ts b/src/api/inventory/unseen/UnseenItemCategory.ts index b93a0465..cbd7e9b7 100644 --- a/src/api/inventory/unseen/UnseenItemCategory.ts +++ b/src/api/inventory/unseen/UnseenItemCategory.ts @@ -1,10 +1,9 @@ export class UnseenItemCategory { - public static FURNI: number = 1; - public static RENTABLE: number = 2; - public static PET: number = 3; - public static BADGE: number = 4; - public static BOT: number = 5; - public static GAMES: number = 6; - public static _Str_12463: number[] = [ UnseenItemCategory.FURNI, UnseenItemCategory.RENTABLE, UnseenItemCategory.PET, UnseenItemCategory.BADGE, UnseenItemCategory.BOT ]; -} \ No newline at end of file + public static FURNI: number = 1; + public static RENTABLE: number = 2; + public static PET: number = 3; + public static BADGE: number = 4; + public static BOT: number = 5; + public static GAMES: number = 6; +}