mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 06:40:50 +01:00
Move inventory files
This commit is contained in:
parent
a5a8786649
commit
94e51e9ff3
@ -1,9 +1,9 @@
|
|||||||
import { createContext, Dispatch, FC, ProviderProps, useContext } from 'react';
|
import { createContext, Dispatch, FC, ProviderProps, useContext } from 'react';
|
||||||
import { IUnseenItemTracker } from '../common/unseen/IUnseenItemTracker';
|
import { IUnseenItemTracker } from './common/unseen/IUnseenItemTracker';
|
||||||
import { IInventoryBadgeAction, IInventoryBadgeState } from '../reducers/InventoryBadgeReducer';
|
import { IInventoryBadgeAction, IInventoryBadgeState } from './reducers/InventoryBadgeReducer';
|
||||||
import { IInventoryBotAction, IInventoryBotState } from '../reducers/InventoryBotReducer';
|
import { IInventoryBotAction, IInventoryBotState } from './reducers/InventoryBotReducer';
|
||||||
import { IInventoryFurnitureAction, IInventoryFurnitureState } from '../reducers/InventoryFurnitureReducer';
|
import { IInventoryFurnitureAction, IInventoryFurnitureState } from './reducers/InventoryFurnitureReducer';
|
||||||
import { IInventoryPetAction, IInventoryPetState } from '../reducers/InventoryPetReducer';
|
import { IInventoryPetAction, IInventoryPetState } from './reducers/InventoryPetReducer';
|
||||||
|
|
||||||
export interface IInventoryContext
|
export interface IInventoryContext
|
||||||
{
|
{
|
@ -10,7 +10,7 @@ import { mergeFurniFragments } from './common/FurnitureUtilities';
|
|||||||
import { mergePetFragments } from './common/PetUtilities';
|
import { mergePetFragments } from './common/PetUtilities';
|
||||||
import { TradeState } from './common/TradeState';
|
import { TradeState } from './common/TradeState';
|
||||||
import { TradeUserData } from './common/TradeUserData';
|
import { TradeUserData } from './common/TradeUserData';
|
||||||
import { useInventoryContext } from './context/InventoryContext';
|
import { useInventoryContext } from './InventoryContext';
|
||||||
import { InventoryBadgeActions } from './reducers/InventoryBadgeReducer';
|
import { InventoryBadgeActions } from './reducers/InventoryBadgeReducer';
|
||||||
import { InventoryBotActions } from './reducers/InventoryBotReducer';
|
import { InventoryBotActions } from './reducers/InventoryBotReducer';
|
||||||
import { InventoryFurnitureActions } from './reducers/InventoryFurnitureReducer';
|
import { InventoryFurnitureActions } from './reducers/InventoryFurnitureReducer';
|
||||||
|
@ -12,7 +12,7 @@ import { TradeState } from './common/TradeState';
|
|||||||
import { IUnseenItemTracker } from './common/unseen/IUnseenItemTracker';
|
import { IUnseenItemTracker } from './common/unseen/IUnseenItemTracker';
|
||||||
import { UnseenItemCategory } from './common/unseen/UnseenItemCategory';
|
import { UnseenItemCategory } from './common/unseen/UnseenItemCategory';
|
||||||
import { UnseenItemTracker } from './common/unseen/UnseenItemTracker';
|
import { UnseenItemTracker } from './common/unseen/UnseenItemTracker';
|
||||||
import { InventoryContextProvider } from './context/InventoryContext';
|
import { InventoryContextProvider } from './InventoryContext';
|
||||||
import { InventoryMessageHandler } from './InventoryMessageHandler';
|
import { InventoryMessageHandler } from './InventoryMessageHandler';
|
||||||
import { initialInventoryBadge, InventoryBadgeReducer } from './reducers/InventoryBadgeReducer';
|
import { initialInventoryBadge, InventoryBadgeReducer } from './reducers/InventoryBadgeReducer';
|
||||||
import { initialInventoryBot, InventoryBotReducer } from './reducers/InventoryBotReducer';
|
import { initialInventoryBot, InventoryBotReducer } from './reducers/InventoryBotReducer';
|
||||||
|
@ -2,7 +2,7 @@ import { MouseEventType } from '@nitrots/nitro-renderer';
|
|||||||
import { FC, MouseEvent } from 'react';
|
import { FC, MouseEvent } from 'react';
|
||||||
import { LayoutGridItem } from '../../../../common/layout/LayoutGridItem';
|
import { LayoutGridItem } from '../../../../common/layout/LayoutGridItem';
|
||||||
import { BadgeImageView } from '../../../../views/shared/badge-image/BadgeImageView';
|
import { BadgeImageView } from '../../../../views/shared/badge-image/BadgeImageView';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryBadgeActions } from '../../reducers/InventoryBadgeReducer';
|
import { InventoryBadgeActions } from '../../reducers/InventoryBadgeReducer';
|
||||||
|
|
||||||
export interface InventoryBadgeItemViewProps
|
export interface InventoryBadgeItemViewProps
|
||||||
|
@ -8,7 +8,7 @@ import { Grid } from '../../../../common/Grid';
|
|||||||
import { Text } from '../../../../common/Text';
|
import { Text } from '../../../../common/Text';
|
||||||
import { SendMessageHook } from '../../../../hooks/messages/message-event';
|
import { SendMessageHook } from '../../../../hooks/messages/message-event';
|
||||||
import { BadgeImageView } from '../../../../views/shared/badge-image/BadgeImageView';
|
import { BadgeImageView } from '../../../../views/shared/badge-image/BadgeImageView';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryBadgeActions } from '../../reducers/InventoryBadgeReducer';
|
import { InventoryBadgeActions } from '../../reducers/InventoryBadgeReducer';
|
||||||
import { InventoryBadgeItemView } from './InventoryBadgeItemView';
|
import { InventoryBadgeItemView } from './InventoryBadgeItemView';
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import { LayoutGridItem } from '../../../../common/layout/LayoutGridItem';
|
|||||||
import { AvatarImageView } from '../../../../views/shared/avatar-image/AvatarImageView';
|
import { AvatarImageView } from '../../../../views/shared/avatar-image/AvatarImageView';
|
||||||
import { BotItem } from '../../common/BotItem';
|
import { BotItem } from '../../common/BotItem';
|
||||||
import { attemptBotPlacement } from '../../common/BotUtilities';
|
import { attemptBotPlacement } from '../../common/BotUtilities';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryBotActions } from '../../reducers/InventoryBotReducer';
|
import { InventoryBotActions } from '../../reducers/InventoryBotReducer';
|
||||||
|
|
||||||
export interface InventoryBotItemViewProps
|
export interface InventoryBotItemViewProps
|
||||||
|
@ -8,7 +8,7 @@ import { Text } from '../../../../common/Text';
|
|||||||
import { SendMessageHook } from '../../../../hooks/messages/message-event';
|
import { SendMessageHook } from '../../../../hooks/messages/message-event';
|
||||||
import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView';
|
import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView';
|
||||||
import { attemptBotPlacement } from '../../common/BotUtilities';
|
import { attemptBotPlacement } from '../../common/BotUtilities';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryBotActions } from '../../reducers/InventoryBotReducer';
|
import { InventoryBotActions } from '../../reducers/InventoryBotReducer';
|
||||||
import { InventoryCategoryEmptyView } from '../category-empty/InventoryCategoryEmptyView';
|
import { InventoryCategoryEmptyView } from '../category-empty/InventoryCategoryEmptyView';
|
||||||
import { InventoryBotItemView } from './InventoryBotItemView';
|
import { InventoryBotItemView } from './InventoryBotItemView';
|
||||||
|
@ -3,7 +3,7 @@ import { FC, MouseEvent, useEffect, useState } from 'react';
|
|||||||
import { LayoutGridItem } from '../../../../common/layout/LayoutGridItem';
|
import { LayoutGridItem } from '../../../../common/layout/LayoutGridItem';
|
||||||
import { attemptItemPlacement } from '../../common/FurnitureUtilities';
|
import { attemptItemPlacement } from '../../common/FurnitureUtilities';
|
||||||
import { GroupItem } from '../../common/GroupItem';
|
import { GroupItem } from '../../common/GroupItem';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryFurnitureActions } from '../../reducers/InventoryFurnitureReducer';
|
import { InventoryFurnitureActions } from '../../reducers/InventoryFurnitureReducer';
|
||||||
|
|
||||||
export interface InventoryFurnitureItemViewProps
|
export interface InventoryFurnitureItemViewProps
|
||||||
|
@ -12,7 +12,7 @@ import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomP
|
|||||||
import { FurniCategory } from '../../common/FurniCategory';
|
import { FurniCategory } from '../../common/FurniCategory';
|
||||||
import { attemptItemPlacement, attemptPlaceMarketplaceOffer } from '../../common/FurnitureUtilities';
|
import { attemptItemPlacement, attemptPlaceMarketplaceOffer } from '../../common/FurnitureUtilities';
|
||||||
import { GroupItem } from '../../common/GroupItem';
|
import { GroupItem } from '../../common/GroupItem';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryFurnitureActions } from '../../reducers/InventoryFurnitureReducer';
|
import { InventoryFurnitureActions } from '../../reducers/InventoryFurnitureReducer';
|
||||||
import { InventoryCategoryEmptyView } from '../category-empty/InventoryCategoryEmptyView';
|
import { InventoryCategoryEmptyView } from '../category-empty/InventoryCategoryEmptyView';
|
||||||
import { InventoryFurnitureItemView } from './InventoryFurnitureItemView';
|
import { InventoryFurnitureItemView } from './InventoryFurnitureItemView';
|
||||||
|
@ -4,7 +4,7 @@ import { LayoutGridItem } from '../../../../common/layout/LayoutGridItem';
|
|||||||
import { PetImageView } from '../../../../views/shared/pet-image/PetImageView';
|
import { PetImageView } from '../../../../views/shared/pet-image/PetImageView';
|
||||||
import { PetItem } from '../../common/PetItem';
|
import { PetItem } from '../../common/PetItem';
|
||||||
import { attemptPetPlacement } from '../../common/PetUtilities';
|
import { attemptPetPlacement } from '../../common/PetUtilities';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryPetActions } from '../../reducers/InventoryPetReducer';
|
import { InventoryPetActions } from '../../reducers/InventoryPetReducer';
|
||||||
|
|
||||||
export interface InventoryPetItemViewProps
|
export interface InventoryPetItemViewProps
|
||||||
|
@ -8,7 +8,7 @@ import { Text } from '../../../../common/Text';
|
|||||||
import { SendMessageHook } from '../../../../hooks/messages/message-event';
|
import { SendMessageHook } from '../../../../hooks/messages/message-event';
|
||||||
import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView';
|
import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView';
|
||||||
import { attemptPetPlacement } from '../../common/PetUtilities';
|
import { attemptPetPlacement } from '../../common/PetUtilities';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryPetActions } from '../../reducers/InventoryPetReducer';
|
import { InventoryPetActions } from '../../reducers/InventoryPetReducer';
|
||||||
import { InventoryCategoryEmptyView } from '../category-empty/InventoryCategoryEmptyView';
|
import { InventoryCategoryEmptyView } from '../category-empty/InventoryCategoryEmptyView';
|
||||||
import { InventoryPetItemView } from './InventoryPetItemView';
|
import { InventoryPetItemView } from './InventoryPetItemView';
|
||||||
|
@ -17,7 +17,7 @@ import { GroupItem } from '../../common/GroupItem';
|
|||||||
import { IFurnitureItem } from '../../common/IFurnitureItem';
|
import { IFurnitureItem } from '../../common/IFurnitureItem';
|
||||||
import { TradeState } from '../../common/TradeState';
|
import { TradeState } from '../../common/TradeState';
|
||||||
import { _Str_16998 } from '../../common/TradingUtilities';
|
import { _Str_16998 } from '../../common/TradingUtilities';
|
||||||
import { useInventoryContext } from '../../context/InventoryContext';
|
import { useInventoryContext } from '../../InventoryContext';
|
||||||
import { InventoryFurnitureActions } from '../../reducers/InventoryFurnitureReducer';
|
import { InventoryFurnitureActions } from '../../reducers/InventoryFurnitureReducer';
|
||||||
import { InventoryFurnitureSearchView } from '../furniture/InventoryFurnitureSearchView';
|
import { InventoryFurnitureSearchView } from '../furniture/InventoryFurnitureSearchView';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user