moving stuff yes
This commit is contained in:
@ -3,6 +3,7 @@ import { io, Socket } from 'socket.io-client'
|
||||
import type { Asset, Character, Notification, User } from '@/types'
|
||||
import config from '@/config'
|
||||
import { useCookies } from '@vueuse/integrations/useCookies'
|
||||
import { BehaviorSubject } from 'rxjs'
|
||||
|
||||
export const useGameStore = defineStore('game', {
|
||||
state: () => ({
|
||||
|
@ -4,7 +4,8 @@ import type { ExtendedCharacter, Zone } from '@/types'
|
||||
export const useZoneStore = defineStore('zone', {
|
||||
state: () => ({
|
||||
zone: null as Zone | null,
|
||||
characters: [] as ExtendedCharacter[]
|
||||
characters: [] as ExtendedCharacter[],
|
||||
characterLoaded: false,
|
||||
}),
|
||||
getters: {
|
||||
getCharacterById: (state) => {
|
||||
|
Reference in New Issue
Block a user